Too many connections error memcached

Brett Hoerner bretthoerner at bretthoerner.com
Tue Sep 18 00:22:09 UTC 2007


On Sep 17, 2007, at Sep17, 5:57:05PM, Matt Bartolome wrote:
> This would be 50 (max clients) X 150 (requests per child) = 7500  
> max connections
>
> At this point I'm guessing we should probably add another front end
> apache server.

Well, the client should be properly closing the connections to begin  
with.  You should really only have 50 max connections at a time (1  
per client, which is then closed when finished).

As Jeremy said,

>> You're likely putting a bandaid on a different problem.  You'll run
>> into this problem again if you add more MaxChildren or more apache
>> front ends.
>>
>> Verify what python memcached client you're using and which version it
>> is.  Verify what version of memcached you're running.   Come  
>> back.  :)

Regards,
Brett


More information about the memcached mailing list