In my opinion,bytes refers to the space memcached used now, and limit_maxbytes is the max space memcached can use. When I insert items into memcached constantly with expiration=0, the older item should replace the last recently used one by memcached's LRU algorithm. But the fact is, after constantly inseration, the bytes is larger than limit_maxbytes (with evictions increased). I wonder if now the actual occupied space is larger than limit_maxbytes? Or why bytes is larger than limit_maxbytes? Can someone help me with this? Thanks a lot.
memcached bytes is larger than limit_maxbytes
307 Views Asked by muxiao At
1
There is a bug,
limit_maxbytescomes as KB not Byte.I set max cache size
CACHESIZE="5GB", and stats shows only5MB.