it seems like nsd locks up with 100% cpu load
it looks like it loops with a gettimeofday lookup?
it should be fair to say that i have loaded over 100000 zones in nsd
(yeah, im not normal :P)
we get this in traces:
gettimeofday({1166093621 109031},0x0) = 0 (0x0)
gettimeofday({1166093621 149335},0x0) = 0 (0x0)
gettimeofday({1166093621 149631},0x0) = 0 (0x0)
close(23) = 0 (0x0)
socket(0x2,0x1,0x6) = 23 (0x17)
fcntl(23,F_SETFL,0x4) = 0 (0x0)
connect(0x17,{ AF_INET 0.0.0.1:0 },16) ERR#36 'Operation
now in progress'
gettimeofday({1166093621 191832},0x0) = 0 (0x0)
gettimeofday({1166093621 192129},0x0) = 0 (0x0)
gettimeofday({1166093621 232179},0x0) = 0 (0x0)
gettimeofday({1166093621 232473},0x0) = 0 (0x0)
gettimeofday({1166093621 272407},0x0) = 0 (0x0)
gettimeofday({1166093621 272723},0x0) = 0 (0x0)
gettimeofday(0xbfbfe6c8,
NULL)
= 0
time
(NULL)
= 1166093877
random
()
= 1897731956
gettimeofday(0xbfbfe6c8,
NULL)
= 0
time
(NULL)
= 1166093877
random
()
= 880232573
gettimeofday(0xbfbfe6c8,
NULL)
= 0
time
(NULL)
= 1166093877
random
()
= 1798616357
gettimeofday(0xbfbfe6c8,
NULL)
= 0
time
(NULL)
= 1166093877
random
()
= 85720870
gettimeofday(0xbfbfe6c8,
NULL)
= 0
system is freebsd 6.1 release
nsd is from ports, 3.0.3
regards, Peter - Larsen Data
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Peter, Hmm The large number of zones causes the processing time. Can you provide more information? * What are you doing? Starting it with no information? With preloaded zone files? Doing a zone transfer? * The zone files and config you used. :) * You could compile with ./configure --enable-checking, start nsd -L 1 this will provide much more debug messages in the log; what it is using the cpu for. Send those to me directly; they are likely to be very large. Right now I think it may be because the large number of zones is driving a lot of interprocess data traffic or some slowness in the zonetransfer-process. More information will tell. Best regards, Wouter Peter Larsen wrote:> it seems like nsd locks up with 100% cpu load > > it looks like it loops with a gettimeofday lookup? > > it should be fair to say that i have loaded over 100000 zones in nsd > (yeah, im not normal :P) > > we get this in traces: > > gettimeofday({1166093621 109031},0x0) = 0 (0x0) > gettimeofday({1166093621 149335},0x0) = 0 (0x0)> system is freebsd 6.1 release > > nsd is from ports, 3.0.3 > > > regards, Peter - Larsen Data > _______________________________________________ > nsd-users mailing list > nsd-users at NLnetLabs.nl > http://open.nlnetlabs.nl/mailman/listinfo/nsd-users-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFFgWJFkDLqNwOhpPgRAgYRAJ9zAumOw9mAL5creavVhZCK+MZ4hwCdEru2 yKBzkhl9z+c+ScLA5B0cws8=oER6 -----END PGP SIGNATURE-----