[nsd-users] nsd utilize 100% cpu

Vadim vvatlin at yandex.ru
Thu Dec 10 15:39:03 UTC 2009


Hi there.

Can anybody help me or explain what happen?

I run nsd with 40к domain zones.
And very often nsd utilize 100%cpu for a long time.
For example, when I run nsdc patch, command have already finished but 
process nsd still running and use 100% cpu.
When I do strace I see:
gettimeofday({1260459192, 450604}, NULL) = 0
pselect6(8, [7], [7], [], {4, 549396000}, {NULL, 8}) = 1 (out [7], left 
{4, 549396000})
write(7, "\10\0\0\0\0\17\1\t\3\10\5\0\4nw-r\2ru\0", 21) = 21
gettimeofday({1260459192, 461029}, NULL) = 0
pselect6(8, [7], [7], [], {4, 538971000}, {NULL, 8}) = 1 (out [7], left 
{4, 538971000})
write(7, "\10\0\0\0\0\26\1\20\3\17\f\0\vnw-normativ\2ru\0", 28) = 28
gettimeofday({1260459192, 471457}, NULL) = 0

And even after 20 minutes after "nsd patch" have finished, nsd process 
still use 100% cpu.

Can anybody help me?



More information about the nsd-users mailing list