[Unbound-users] Resolving Timeouts/Issues
Wouter Wijngaards
wouter at NLnetLabs.nl
Thu Oct 9 15:31:30 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Dave,
Glad to hear that.
The accept is a TCP error. It could complain about network buffer space
in the kernel maybe or file descriptor limits.
But 900 + 30 +30 + some extra is well within 1024 file descriptors ...
Also 30*8 TCP connections should be well within linux default capacity.
You could try to lower the
outgoing-num-tcp: 10
incoming-num-tcp: 10
But I have no clue why the errors are appearing.
At least it is being distributed better. That helps.
Well for fine-tuning; set the other *-slabs options to 8.
increase the infra structure cache size.
Best regards,
Wouter
Dave Ellis wrote:
> We have success! I compiled with:
>
> ./configure --without-pthreads --without-solaris-threads
>
> And changed the config:
> outgoing-range: 900
>
> It seems the threads are much closer to being balanced. Top shows all 8
> threads running lose to the same usage.
>
> The only thing odd, I am still getting these errors in the logs:
> [1223543388] unbound[3440:1] error: accept failed: Resource temporarily
> unavailable
> [1223543388] unbound[3440:1] info: remote address is 72.249.76.123 port
> 58890
>
> --
>
> And for future reference, here is my working config. Any other comments
> or suggestions?
>
> cat unbound.conf
> # unbound.conf(5) config file for unbound(8).
> server:
> directory: "/usr/local/etc/unbound"
> username: unbound
> chroot: "/usr/local/etc/unbound"
> logfile: "/usr/local/etc/unbound/unbound.log"
> pidfile: "/usr/local/etc/unbound/unbound.pid"
> interface: 0.0.0.0
> access-control: 0.0.0.0/0 allow
> root-hints: "/usr/local/etc/unbound/named.cache"
> do-ip6: no
> outgoing-num-tcp: 30
> incoming-num-tcp: 30
> outgoing-range: 900
> num-queries-per-thread: 16384
> rrset-cache-size: 1024m
> msg-cache-size: 512m
> msg-cache-slabs: 8
> statistics-interval: 3600
> num-threads: 8
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkjuI9IACgkQkDLqNwOhpPj4UwCglg3eco3FzsZwxrXvQdlrk71n
JrkAn3mjUAPO6Pc+f1Zj6Kjr2nsZISXf
=+tXT
-----END PGP SIGNATURE-----
More information about the Unbound-users
mailing list