[collectd] Bug#535787: collectd: powerdns monitoring hangs on the pdns socket (pdns 2.9.22)

Luke Heberling collectd at c-ware.com
Wed Jul 29 03:00:31 CEST 2009

On Tuesday 28 July 2009 02:24:15 Sebastian Harl wrote:
> What do you think about using interval_g instead (or interval_g / 2 and
> / or setting some maximum value)? Basically, that should not make a big
> difference, but, imho, it's a bit cleaner to let recv() fail before the
> end of the read interval.

sounds good. how about max( 2, interval_g * 3 / 4  )?
Updated the patch. Also fixed the error message to mention the LocalSocket 
config, not the Plugin config. Compiled the package with these modifications, but 
didn't install or run.

Luke Heberling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: powerdns.diff
Type: text/x-patch
Size: 1443 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090728/007e9c64/attachment.bin 

More information about the collectd mailing list