We are using memcache in a couple different ways, using the php client
with mod_php.  Once and a while it seems that something gets hinky in
apache/mod_php/memcache client using persistent connections, and calls
to $memcache->getServerStatus() will return false, which in our code
causes an exception.

I have a few questions:

-Is there a way to configure the number of persistent connections to
maintain?
-Any other settings related to persistent connections?

We have a small farm of 3-4 webservers currently going against a
single memcached, and when I look for a connection count using lsof or
netstat I get a number in the 255ish range -- is this a coincidence,
or indicative of some built-in setting?

I know there are a lot of variables here, our basic config:

Centos5
httpd-2.0.52-41, running worker
mod PHP 5.2.6

For now, I've disabled persistent connections, but I'm curious if this
is going to significantly limit our scalability as time goes on.
Recommendations or advice of others using memcache and php is
appreciated.








Reply via email to