Wordpress LScache Plugin: memcached not working
Last Updated on: Wed, 15 Apr 2026 00:00:02 I have memcached running on ubuntu (latest stable), service Memcached status returns a running service, sock file gets created, I can nc -U the sock file and run stats on it no problem. However when I try to telnet to 11211 it says connection refused. I read that is because the service is using a Unix socket. Then? Your official debug / troubleshooting page says: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:cache:object_cache#how_to_debug Try service memcached status, to make sure the service is active (running). Try ss -lptun | grep 11211, to make sure the Memcached port is listening. Try telnet localhost 11211, to make sure you can connect to localhost successfully. the ss-lptun command returns nothing. Telnet fails. There are no entries in the log, too. In the plugin, I see connection failed ? both when I use the socket instructions (to insert the sock file in the host field, and 0 for port) and when I use localhost and port 11211. I am at the end of my rope for troubleshooting this. Any suggestions? P.S. this is the default droplet provided by litespeed on digitalocean The page I need help with: http://atlantsecurity.com Hi, are you using memcached unix socket ? make sure your PHP user has permission to read/write to that socket file Best regards, Hi @xorred , May I know if this is a cloud image launched from marketplace? If so, the default object cache has set to use unix socket, so check the port command may not help. Please consider to Method Redis, Host set to /var/run/redis/redis-server.sock and Port set to 0. Best, Eric @CacheCrawler ? can you please clarify how I could make sure of that besides the ls -lah, showing the right permissions, same as the webserver and Memcached -u user switch? Is there a test I could run? @eric780217 thanks, Redis works, but I would really like to use Memcached. Hi, please create a php file with code
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference