Flushing Cache in Memcache

If you’re using a web application with Memcache, you may find that when resorting data (whether application files or database), you may run into strange erorrs when bringing your application back online. For example, errors regarding missing application classes or missing database tables. The resolution is to clear out your Memcache cache.

Telnet to your Memcache server. For example, if your Memcache instance is located on the local server, you can Telnet to it as such –
telnet 11211

Then, issue the flush_all command –

You should get the following returned status –

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.