[collectd] memcached timeout (Was: Problems with collectd and KVM)

Joost Cassee joost at cassee.net
Sat Aug 23 18:47:40 CEST 2008


On 23-08-08 12:05, Florian Forster wrote:
> Hi Joost,
> 
> On Tue, Aug 19, 2008 at 10:39:04AM +0200, Joost Cassee wrote:
>> Aug 15 01:47:45 paulus collectd[25216]: memcached: poll() failed or timed out
>> Aug 15 01:47:45 paulus collectd[25216]: read-function of plugin `memcached' failed. Will suspend it for 10 seconds.
> 
> bug #26 (see [0]) was caused by the same problem, so apparently you're
> not the only one who gets this message. I've committed a fix to the Git
> repository which
> - fixes the file descriptor leak mentioned in the bug report, and
> - is more informative about what really happens.
> The changed code will tell you whether a timeout or an error occurred
> and will tell you the precise error message, too. Would you mind giving
> this a shot before I pack and release 4.3.4 and 4.4.3? Hopefully this
> will tell is in more detail what's going on..

I've compiled the Lenny package with your patch applied. Unfortunately,
I still get errors:

Aug 23 17:17:12 paulus collectd[10373]: memcached: poll(2) timed out
after 10 seconds.
Aug 23 17:17:12 paulus collectd[10373]: read-function of plugin
`memcached' failed. Will suspend it for 10 seconds.

Does this tell you anything more?

To test whether my memcached instance has problems I am running the
following script for a while:

while :
do
 echo quit | nc localhost 11211
 echo -n '.'
 sleep 1
done


Regards,

Joost

-- 
Joost Cassee
http://joost.cassee.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 544 bytes
Desc: OpenPGP digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080823/8fa0e42e/attachment.pgp 


More information about the collectd mailing list