Hi, Collectd community.

 After my upgrade I found an issue, what collection3 FLUSH does not work on 
some graphs.

 I got the following message in my webserver logs about this:

   index.cgi: FLUSH failed: Parsing options failed. at 
../lib/Collectd/Graph/Common.pm

 While debugging I found what unixsock.c plugin has limited buffer size of 1024 
bytes when reading
 received data, but Collectd::Graph::Common::flush_files() and 
Collectd::Unixsock::flush() tries to
 flush all files at once, which results to excessive data being sent via 
socket. This ends by error
 message which is described above.

 I'm glad to propose a patch to fix this issue, see attached file.

 Thanks.


-- 
Regards,
 Pavel                          mailto:[email protected]

Attachment: Unixsock.pm.patch
Description: Binary data

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to