[collectd] Issues with network buffers with Solaris

Florian Forster octo at verplant.org
Sat Jun 7 20:33:47 CEST 2008


Hi Eric,

On Thu, Jun 05, 2008 at 02:41:22PM -0400, Eric LeBlanc wrote:
> Take a look at "RET_BUFFER", Instead of sending data, they seems to be
> discarded because the 'master plugin' did a 'reset' to the network
> plugin according to "kstat chain has been updated".

you're totally right: The network plugin unconditionally sets
`send_buffer_fill' to zero in the init function. This is of course a
bug.

Could you please try the attached patch and tell us if it's working? It
simply catches detects if `init' was called before and returns if so.

Thank you very much for debugging this :)
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: collectd-network_init.patch
Type: text/x-diff
Size: 1025 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080607/163c6742/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080607/163c6742/attachment.pgp 


More information about the collectd mailing list