Memcache connection errors

Paul T pault12345 at yahoo.com
Tue May 23 17:08:08 UTC 2006


Could you be hitting the (funny) Linux limitation on
max open files ?

http://www.xenoclast.org/doc/benchmark/HTTP-benchmarking-HOWTO/node7.html

Rgds.Paul.

--- Kamran Nisar <mkamrannisar at gmail.com> wrote:

> hey alll...
> we are having a weird problem with memcache..
> descriptions below.
> 
> the problem:
> we shifted our hosting company, and ever since we
> got at the new one.. we
> have been getting random connection error to
> memcache...
> we've run various packets transfers during the
> memcache test to see if a
> similar error is encountered there.. but the the
> problem seems to occur with
> memcache only..
> 
> 
> the memcached lies on anoher machine, and the hits
> are generated using ab,
> when using anything above total of 1000 and
> concurrent of 150 connections..
> we start getting random errors.. the errors are
> mentioned below
> 
> ------
> PHP Warning:  Memcache::pconnect() [<a
> href='function.pconnect'>
> function.pconnect</a>]: Can't connect to
> 10.0.0.51:11211, Unknown error (0)
> PHP Warning:  Memcache::pconnect() [<a
> href='function.pconnect'>
> function.pconnect</a>]: Can't connect to
> 10.0.0.51:11211, Connection timed
> out (110)
> 
> increased the port range to accomadate over 64K
> connections, recompiled the
> kernel to accomodate TIME_WAIT to 2 secs, tried
> setting up memcached on the
> same machine, remote machine.. but the errorr keeps
> randonmly showing up...
> 
> we are currently using 100Mbps ethernet cards ,
> while previously we had
> gigabit ethernet on managed switches.. and we have
> also swtiched from intel
> to 64 bit AMD
> 
> 
> 
> any suggestions/ides for debugging or reasons as to
> why the random connect
> error comes up...
> -- 
> Regards
> M Kamran Nisar,
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the memcached mailing list