Memcached stats issue
dormando at rydia.net
Mon Jun 23 04:09:50 UTC 2008
Memcached will pre-allocate a 1 megabyte slab per slab class that's
created. so if you set your maxbytes to, uh, a megabyte, it'll go over
that amount. There's a compile flag to disable this feature, but you'll
get out of memory errors when setting into any slab class past the first
one you use, if your limit's set at one megabyte.
Mattias Karlsson wrote:
> I'm having some issues with the 'stats' command, using version 1.2.5.
> My stats says:
> STAT bytes 1307912
> STAT limit_maxbytes 1048576
> The file "doc/protocol.txt" says:
> bytes 64u Current number of bytes used by this server to store items
> limit_maxbytes 32u Number of bytes this server is allowed to use for storage.
> So my question is: how can 'bytes' be larger than 'limit_maxbytes' ?
> Best regards,
More information about the memcached