Hi,

We are using Memcached Server for our caching module. We have a
monitoring application which should raise an alram if the number of
items in the cache gets below the actual value. Actually we have a
certain number of objects whose count is fixed and we are storing it
in cache as its getting updated every 30 secs. Now when we didn't get
the update or our application that Populates this cache stops working,
the objects in the cache will start expiring and we should raise an
alarm for this.
We thought of using curr_item of stat to check the current number of
items in the cache, but even if the object is expired, its not
updating it. When client application hits the cache server and it
returns null as item has been expired then the count decreases by one.
So this number doesn't represent the actual number of items in the
cache. Can you please help me with this? Is there any other way to get
the actual number of items in the cache at a given time?

Thanks & regards,
Pankaj

Reply via email to