-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave Ellis wrote: > I don't believe the other threads are crashing, when I enable > statistics-interval I get 8 threads printed to the log. I went ahead and > enabled statistics-interval, with a 3 minute timer. You can see them > below, it does look like thread0 is taking most of the queries, but not > 100% of them.
Thanks for the detailed logs :-) > I also changed the config: > outgoing-range: 16384 > num-queries-per-thread: 16384 So, you allow only 1024 open files, please increase ulimit open files ulimit -n 100000 Again, that may empower your brave thread0 to do all of the work. But the biggest problem you have seems to be the OS distribution: thread 2: 1912 queries, 348 answers from cache, 1564 recursions thread 2: requestlist max 162 avg 92.7954 exceeded 0 thread 1: 1976 queries, 308 answers from cache, 1668 recursions thread 1: requestlist max 170 avg 96.6511 exceeded 0 thread 4: 2575 queries, 491 answers from cache, 2084 recursions thread 4: requestlist max 237 avg 117.37 exceeded 0 thread 3: 2003 queries, 366 answers from cache, 1637 recursions thread 3: requestlist max 183 avg 102.059 exceeded 0 thread 5: 2051 queries, 349 answers from cache, 1702 recursions thread 5: requestlist max 218 avg 114.461 exceeded 0 thread 6: 2003 queries, 415 answers from cache, 1588 recursions thread 6: requestlist max 168 avg 91.5101 exceeded 0 thread 7: 3719 queries, 638 answers from cache, 3081 recursions thread 7: requestlist max 283 avg 153.266 exceeded 0 thread 0: 75846 queries, 25599 answers from cache, 50247 recursions thread 0: requestlist max 4135 avg 2140.02 exceeded 0 You are correct, thread 0 is doing most of the work. If you look at /proc/cpuinfo, how many cpus does the OS see? Set num-threads to that number. Try compiling in one of the other two modes to see if that causes a better distribution of work among the threads. Best regards, Wouter -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjuFboACgkQkDLqNwOhpPgsXACgna2lcdXaoIS0YHyzB7TVZ9Yp +lgAnAhhKCVrvpTyjSYPjaVvBixflPL4 =XolW -----END PGP SIGNATURE----- _______________________________________________ Unbound-users mailing list [email protected] http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
