According to this doc 
<https://dev.mysql.com/doc/refman/5.5/en/ha-memcached-stats-slabs.html> 
used_chunks 
is "Number of chunks allocated to an item".

What does that mean?


Here are the stats for one of my slabs:

<https://i.stack.imgur.com/WFlwQ.png>


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??


According to this doc 
<http://memory%20for%20an%20item%20is%20not%20actively%20reclaimed.%20if%20you%20store%20an%20item%20and%20it%20expires%2C%20it%20sits%20in%20the%20lru%20cache%20at%20its%20position%20until%20it%20falls%20to%20the%20end%20and%20is%20reused./>
 "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?



-- 

--- 
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