memcached purging and LRU

Ask Bjørn Hansen ask at develooper.com
Fri Feb 11 15:04:24 PST 2005


On Feb 11, 2005, at 14:42, Sergio Salvatore wrote:

[...]
> add to the cache are generally from 4 to 30 kB with a
> heavy concentration on those from 4 to 10 kB.  I
> understand with memcached's slab allocator that I may
> run out of appropriately sized slabs before my overall
> memory is exhausted, but other posts that I've
> encountered seem to indicate that there's an LRU
> purging method in cases like this.  Is this correct?
> If so, why would you ever get an "out of memory"
> problem?

How much memory are you letting memcached use?  How many items do you 
cache?


  - ask

-- 
http://www.askbjoernhansen.com/



More information about the memcached mailing list