Each slab is 1mb and its designated to hold items of particualr size.
So if you had 5000 items over 500KB inserted into the cache at some
time ( at the beginning ) they would consume 5GB (they would take 1MB
each even if they were 501KB).
So after some time caching patterns change and you dont insert big
items any more. This 5GB is wasted if you are not using such big items
any more. So distribution changes and big items are not needed any
more but more smaller items cant fit into the cache as memcached cant
put small items into slabs designated for big items.
Sorry if my explanation is not super good :)
checkout this tool out though
http://artur.ejsmont.org/blog/content/first-version-of-memcache-stats-script-based-on-memcachephp
i took a open source stats scripts and added detailed view of slabs.
It should tell you how many slabs you have allocated per size and how
many items are there. I guess this should give you good idea what is
really happening.
:- )
art
--
Visit me at:
http://artur.ejsmont.org/blog/
Thanks,
kc
2010/11/5 Artur Ejsmont <ejsmon...@gmail.com>:
can anyone confirm what is the status of reclaiming slabs please? I am
also interested is it available.
thanks
art