[collectd] Issues with network buffers with Solaris

Eric LeBlanc eleblanc at taleo.com
Mon Jun 9 22:43:43 CEST 2008


Hi,

With this patch, it seems to run very well on Solaris servers.

Thank you,

E.

On Saturday 07 June 2008, Florian Forster wrote:
> 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


-- 
Eric LeBlanc <eleblanc at taleo.com>
Unix System Administrator
Taleo inc.



More information about the collectd mailing list