Memcached status returning “memcached dead but pid file exists”

memcached

When I want to see the status of memcached I run service --status-all but I get this multiple times "memcached dead but pid file exists" when it lists memcached.

It seems to me that this means memcached needs some cleaning up. How can I remove those messages about the old pid file?

Best Answer

Depending on your distro, .pid files will either be located in memcached's working directly (like /etc/memcached) or in /var/run.

Related Topic