"since then they may have been deleted or expired or etc." Please confirm this: So the total chunks metric includes chunks with expired items and the used chunks metric only includes chunks with items that have not expired? Also, you say "deleted", why would memcached keep pages full of deleted chunks assigned to a slab class and not return them to the global page pull immediately?
Also this: "you need to run newer versions with modern opens to have anything more"- what does this mean? On Jun 20, 2017 2:59 AM, "dormando" <[email protected]> wrote: > 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 a topic in the > Google Groups "memcached" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/memcached/2g8Bss5E0RU/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
