If I look at the slab stats over time I see the % of chunks_used (relative to total_chunks) spike up (some slab classes hit 45% some hit 75%) then spike down and at the same time they are spiking down evictions spike up. This happens about every 2-4 minutes.
I've attached a screen shot of this pattern in a time series (raw stats not phpmemchacheadmin). In the graphs I'm filtering for just one slab class but I see this for all the most active slabs ( roughly 5 active slab classes). [image: Inline image 2] On Jun 21, 2017 2:27 PM, "dormando" <[email protected]> wrote: > Is the evictions counter increasing all the time? It might only be > completely full sometimes, which would cause evictions (like during peak). > > if used is less than total but evictions is going up, either you have an > old broken version of memcached or that phpmemcachedadmin thing is wrong, > and you should just look at the output of the "stats items" and "stats > slabs" commands. > > On Wed, 21 Jun 2017, red 888 wrote: > > > Here is a snap shot of one of my slab class's stats (from > PHPMemcachedAdmin): > > > > [Capture.PNG] > > > > > > So what I'm confused about is why, with my used_chunks so low, am I > getting evictions for this slab class? > > > > > > used_chunks are chunks with items that have not expired yet and > total_chunks is all allocated chunks including chunks with items that > _have_ expired > > correct? > > > > > > If thats the case it means if 25% of the allocated chunks are "used" and > 75% of the allocated chunks have expired. So it should have plenty of > chunks to > > reclaim before having to evict I would think. > > > > > > > > -- > > > > --- > > 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. > > > > > > -- > > --- > 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/to > pic/memcached/VXm-hnGzqXY/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.
