On Seg, 2011-11-21 at 11:07 -0800, jsd wrote:

> Is this expected behavior?  I would have hoped to just get a quick
> "connection refused", instead it gums up the connecting apache
> processes for a long time, which is not good.  Even better, I would
> like to find some way to avoid running out of connections.  If I can
> only get 3000 connections with this configuration then so be it, I'll
> just add more nodes.  Would really like to know for sure one way or
> the other though.


You can increase the max simultaneous connections parameter, 4096 is not
that much.

Also, install a version with maxconns_fast (for instance 1.4.10) if you
want immediate failure on maxconns (you'll get a "ERROR Too many open
connections").

But the best practice will be to set a timeout on your application for
memcache connections.



Reply via email to