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

Florian Forster octo at verplant.org
Sun Aug 24 22:26:23 CEST 2008


Hi Joost,

On Sat, Aug 23, 2008 at 06:47:40PM +0200, Joost Cassee wrote:
> I've compiled the Lenny package with your patch applied.
> Unfortunately, I still get errors:

that was to be expected: The patch fixed another error that was _caused_
by the timeout, not the timeout itself. The reason for this patch is
that error reporting has been improved.

> Aug 23 17:17:12 paulus collectd[10373]: memcached: poll(2) timed out after 10 seconds.
> Does this tell you anything more?

Okay, so it really is a timeout. With the previous message it might have
been an error, too. But this message now clearly states that poll(2) has
timed out.

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

This isn't exactly the same: The plugin sends a command, then waits for
a response. It's this waiting for the response that's timing out. So
it'd be necessary to send a command that is followed by a response and
check if this response is actually received - and after which period..

I have to admit, though, that all things considered this feels more and
more like a problem in memcached.. Have you checked the memcached
mailing list for reports of a similar problem?

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- 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/20080824/56e107a4/attachment.pgp 


More information about the collectd mailing list