Strange memcached behavior on stress test

Brad Fitzpatrick brad at danga.com
Mon Jun 12 16:17:38 UTC 2006


On Mon, 12 Jun 2006, Janning Vygen wrote:

> > (though that depends on your usage pattern) but this is one condition
> > where you'll get a set problem and an out of memory error even if you
> > have space left in individual slabs.
>
> Thank you garth for this detailed explanation. Now i think i understood my
> problem. My session data is very different in size. So my allocated "slabs"
> are "full" and a new slab can't be allocated.

Janning,

This problem is fixed in two different ways in later releases.  Try out
this version for now:

http://www.danga.com/memcached/dist/memcached-1.1.13-pre.tar.gz

It pre-allocates a 1MB slab of each class on start, so people won't run
into this confusion.

- Brad


More information about the memcached mailing list