[Unbound-users] Resolving Timeouts/Issues
wouter at NLnetLabs.nl
Thu Oct 9 13:37:42 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Oh! I meant you have two choices, compile with
./configure --without-pthreads --without-solaris-threads
Using them together is indeed also an option. Perhaps the first one
(without libevent) does not have the errors about resource unavailable
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
or even more, and perhaps the thread0 that does all the work gets enough
power to do all of it ...
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)
-----END PGP SIGNATURE-----
More information about the Unbound-users