Maintained by: NLnet Labs

[Unbound-users] Resolving Timeouts/Issues

Wouter Wijngaards
Thu Oct 9 15:37:42 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Dave,

Oh! I meant you have two choices, compile with

./configure --without-pthreads --without-solaris-threads

or

./configure --with-libevent

Using them together is indeed also an option.  Perhaps the first one
(without libevent) does not have the errors about resource unavailable
printed.

Resource unavailable ; what is your ulimit -a?
Set open file (file descriptors) to 8*2048 or more, say ulimit -n 100000.

There are no stats for the other threads - but they do print them to the
file!  It is like your logfile is losing information (some syslog version?)

You have an 8 processor but one is doing all the work.
Is your OS unfair in scheduling (raging herd problem)?
Getting the other 7 cores to do some work could help a lot, perhaps the
other two compile modes cause the OS to schedule it differently.

Anyway, with your current --with-libevent compile, you could set
outgoing-range: 16384
num-queries-per-thread: 16384
or even more, and perhaps the thread0 that does all the work gets enough
power to do all of it ...

Best regards,
   Wouter

Dave Ellis wrote:
> I do have 8 threads running, and I compiled with the following
> configure, is this correct?
> 
> ./configure --without-pthreads --without-solaris-threads --with-libevent
> 
> I also made this change to the config:
> outgoing-range: 2048
> num-queries-per-thread: 2048
> 
> 8 threads:
> #ps ax | grep unbound
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkjuCSUACgkQkDLqNwOhpPirHQCgoXH5u+Z8oSLGYLpFN8pbaEsB
tXoAoJ4RIxJ6W13iNF5jSQLkHQx5pygo
=jDvL
-----END PGP SIGNATURE-----