mecached - text protocol?

Brad Fitzpatrick brad@danga.com
Thu, 15 Jul 2004 22:46:40 -0700 (PDT)


On Thu, 15 Jul 2004, Michael Alan Dorman wrote:
..
> Actually, I suppose I should extract a diff for a couple of additions
> I made locally---I was getting a MEMORY_ERROR (or SERVER_MEMORY or
> something, I forget) when I was testing, as I was running with a very
> small amount of memory, which I only located when I added a couple of
> additional debug statements.

This is almost a FAQ.

When people play with it in small installations they run -m 5 or something
(5 megs), then put in 5 objects of varying sizes, each allocating a 1MB
slab page.  Then they put in their 6th object and get OUT_OF_MEMORY or
whatever it says, because there's not a 6th MB to make a 6th slab class.
In production, with 128 MB and up of memory, that just doesn't happen.
(and if it does, there are ways to tune the slab usage at run-time without
taking down the server)

- Brad