Too many connections error memcached

Matt Bartolome mattxbart at gmail.com
Tue Sep 18 21:28:06 UTC 2007


On 9/18/07, Jeremy Dunck <jdunck at gmail.com> wrote:
> On 9/18/07, Matt Bartolome <mattxbart at gmail.com> wrote:
> > On 9/17/07, Brett Hoerner <bretthoerner at bretthoerner.com> wrote:
> ...
> > > >> Verify what python memcached client you're using and which version it
> > > >> is.  Verify what version of memcached you're running.   Come
> > > >> back.  :)
> >
> > Ok, I'm using python-memcached 1.39, memcached 1.2.2,  and apache
> > 2.0.55-4ubuntu2.1
>
> FWIW, python-memcached has run from 1.34 to 1.39 fairly quickly.
> We're running 1.34 and memcached 1.1.12 in prod, using Django
> (roughly, but not exactly, 0.96).
>
> We're using the default 1024 connections under prefork without trouble.
>
> As a troubleshooting step, consider downgrading to 1.34
> python-memcached to see if that resolves.

Downgrading to python-memcached-1.34 has seemed to do the trick! I'm
rarely seeing more than 50 connections and averaging around 30. This
seems inline with my apache2.conf.

> I doubt the trouble is on
> the memcached side, since that's used by much higher traffic than you
> or me, and would have been reported sooner.
>

-Matt


More information about the memcached mailing list