Hi guys.

I'm running Memcached 1.2.2 on a Gentoo Linux, (2.6.23-gentoo-r5). This
server has lighttpd+PHP and Memcached, default installation.

The problem: I get thousands of connection errors like this one
"Memcache::connect() [<a href='function.Memcache-connect'>
function.Memcache-connect</a>]: Can't connect to localhost:11211, Connection
timed out (110)". That only happens when Memcached has more than 150
connections established.

I've read similar problems but always happened because of network problems.
My case is localhost, all in the same box.

The server doesn't have any high load, and everything works fine except for
that little detail.
Right now I'm using a home made "solution" that is, if it times out, the
script retries up to 10 times.

Memcached configuration is this:

Memory: 1024M
Max connections: 1024
Port: 11211

System:

Linux web1 2.6.23-gentoo-r5 #2 SMP Sun Dec 30 07:24:48 UTC 2007 x86_64
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux
8G of RAM
Libevent: 1.4

Do you guys have any clue?

Let me know if you need any more information.

Thanks for the help.

Don Menem

Reply via email to