[nsd-users] nsd 3.2.7-1 statistics signalling

Matthijs Mekking matthijs at nlnetlabs.nl
Mon Apr 16 12:59:00 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mathias,

On 02/13/2012 01:48 PM, Matthijs Mekking wrote:
> 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.

The stats are per child server. A reload triggers new children, so a
reload resets the stats.

Best regards,
  Matthijs

> 
>>> 
>>> 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
>>> 
> 
> _______________________________________________ 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/

iQEcBAEBAgAGBQJPjBeTAAoJEA8yVCPsQCW5ATYIALO5fYTb1EJuf5cRkKwcduti
Npof8m5+4xS0bO+gbXRaN9GexBODHNX1mVz6LaUv5lIZZ28628pi+3jbRrmsJcG8
mjD0cS1X5CyGGX/Y//q72rvrfkRaB1seCDZbM6ZOar0tnF/o8fUK1fZ/S6vk+6KI
2aUHfWMZ3B/3QcCCfMfbBchtz1g7NG+h7Z1Cu/1KW64WRm6nwd4z4nYgvcAj4Nh2
FMuOIdXWXm4SUjN28zl01UO5vMiiCCAeEs1f14P+rTTlrZKetPq1VSbAD+BzXujK
pAHT3BzEozXhQ6HeGJeB+oqHBy3O23DVQRd/u/WKed0GSfOGZ8Qb9q4eGExumms=
=TqNw
-----END PGP SIGNATURE-----



More information about the nsd-users mailing list