Hi,

> Used chunks is 8 and total is 48.
>
> Does that mean I have 48 chunks but only 8 have items in them? Why would I 
> have so many chunks without items in them? Are these expired items waiting to
> be reclaimed??

'stats items' contains data about the active items. 'stats slabs' which
you're looking at there is a bit different.

>
> According to this doc "Memory for an item is not actively reclaimed. If you 
> store an item and it expires, it sits in the LRU cache at its position until
> it falls to the end and is reused."
>
>
> Does that mean the total_chunks metrics includes expired items?

total_chunks are all chunks in that slab class. Memory are assigned to
slab classes one page at a time. If a slab class can fit 48 chunks per 1mb
page, you'll always have a minimum of 48 chunks available.

8 used means 8 items are currently in that slab class.

if by another example: you can fit 4 items per 1 meg page (256k chunks),
you have 8 chunks used, and 48 chunks available, it means that at one time
you had enough items in that slab class to justify using all that memory.

since then they may have been deleted or expired or etc.

you need to run newer versions with modern opens to have anything more
active happen.

-Dormando

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to