Perhaps you're running out of connections?

On Thu, Feb 26, 2009 at 3:01 PM, Chris Cameron <[email protected]> wrote:

>
> During peak load, PHP sporadically complains that it is unable to
> connect to my memcache server. I've taken a close look, and everything
> appears to be functioning fine, but the connection errors persist.
>
> The memcache server shows a load of 0.5 or so, the traffic leaving the
> server is about 20MB/s, curr_connections is 1357.
>
> My question is, what would an overloaded memcache server look like?
> CPU, RAM and network connection are all underused (from what I can
> see), so why under high load is PHP (occasionally) unable to connect?
>
> People are also reporting "strange errors" during this time as well
> (blank pages, 503's), which I assume is from this memcache issue.
>
>
> Any help would be appreciated.
>
> Chris
>
>
> The exact PHP error is:
>
> [Thu Feb 26 12:57:31 2009] [error] [client xx.xx.xx.xx] PHP Warning:
> Memcache::pconnect() [<a href='function.Memcache-
> pconnect'>function.Memcache-pconnect</a>]: Can't connect to
> xx.xx.xx.xx:11211, Unknown error (0) in /path/to/lib/
> lib_memcache.inc.php on line 121, referer: http://xxx/etc.
>



-- 
awl

Reply via email to