[nsd-users] nsd 3.2.7-1 statistics signalling

Mathias Wolkert tias at netnod.se
Fri Feb 10 14:42:28 UTC 2012


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?

> 
> To increase logging, set the verbosity to a high number in
> nsd.conf.

Is there anything higher than 2?

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



More information about the nsd-users mailing list