I have a centos server running memcached. I use the spymemcached client to store cache key value pairs.
I need to clear all cache values and keys.
Do I do this on the client or server side?
I have tried the telnet method to flush_all
I have tried on the spymemcached side:
flush();
Neither of these clear the cache.
Can someone please help?
flush();just invalidates all of the items in the memcached cache. You might need to restart the memcached server to clear the cache. Technically you are safe with goflush();memcached will use allocated memory when ever it needs.