[nsd-users] nsd 3.2.7-1 statistics signalling
Matthijs Mekking
matthijs at nlnetlabs.nl
Mon Feb 13 12:48:03 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
On 02/10/2012 03:42 PM, Mathias Wolkert wrote:
> Hi
>
> On 2/9/12 14:04 , Matthijs Mekking wrote:
>> Hi,
>>
>> I have got two pointers for you:
>>
>> NSD will only output stats if there is anything to report, so if
>> all stats are zero, no stats will be logged.
>
> Ouch, that's one way to do it... I'll add it to my list of oddities
> in nsd.
>
> It seems like stats are reset by an update of the zone, is that
> expected also? What else resets the statistics, SIGUSR1?
I am seeing that behavior too (at zone updates), but I didn't expect
it. I'll look into it. Signals does not reset the statistics for me.
>>
>> To increase logging, set the verbosity to a high number in
>> nsd.conf.
>
> Is there anything higher than 2?
Computer says no: grep -r VERBOSITY *.c
Best regards,
Matthijs
>> Or build NSD with --enable-checking to get debug statements
>> (note that this will slow down the server).
>>
>> Best regards, Matthijs
>
> /Tias
>
>>
>> On 02/09/2012 11:00 AM, Mathias Wolkert wrote:
>>> Hi
>>
>>> I have two identical servers running stock debian lenny with
>>> kernel 2.6.32-bpo.3-amd64 and nsd 3.2.7-1.
>>
>>> They are both hosting just one zone but the zones are
>>> different. One is big (+10M records) and the other bigger (+35M
>>> records).
>>
>>> Sending the USR1 signal to dump statistics works fine with the
>>> smaller server but nothing happens when sending it to the
>>> bigger server.
>>
>>> I tried running the smaller zone on the "bad" server but it
>>> still does not respond to my SIGUSR1.
>>
>>> Both are configured to generate statistics every 300s but that
>>> also fails for the bigger server, it only generate XSTATS when
>>> zone is updated and after nsec3-prepare.
>>
>>> Either I'm failing to run it in debug mode or nsd is very
>>> silent, coz it gives me nothing.
>>
>>> Any help is much appreciated.
>>
>>> /Tias _______________________________________________ nsd-users
>>> mailing list nsd-users at NLnetLabs.nl
>>> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users
>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPOQaCAAoJEA8yVCPsQCW53h8IAJJdz/5ftcMTxAb6m1LU+gOe
yI4kA2eguqgaIr1X5+OiFoh/M6ZnZqHJ0KnF/IhGUA+mK/QvyvTW9GTF9/jiwYK5
USMD04b0h7g1j98E1Pj4C7R2KZTXSbvQhvKhz27cthqWOzmwuTsB2AkblFtdHrU8
0jZnNWlEMyAUkzXx54rIAmgIXIBp3CwFxkAN7uOMSYzq5ZrcoLF5l+Xr/jW29YaR
xAa7RQslYIdQCRqjmJl+TqwlsqQIQpL7iyPylqJMiD1B8H7H95gLAzHszJZGHBgd
tYAE97dHAm7DQhGiV3fF/SbCgxjoi17PmnbCh22IWMEFYINbXudMkrPbEj+4Gd4=
=DwVT
-----END PGP SIGNATURE-----
More information about the nsd-users
mailing list