Wordpress LScache Plugin: Object Cache, Connection Test: Failed
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi there, trying to connect Object Cache to my OpenLiteSpeed server, the extensions are enabled, but connection failed Status Memcached Extension: Enabled Redis Extension: Enabled Connection Test: Failed Learn More In SSH I get this error: https://imgur.com/m6HUVnw Can you help? Thanks! Hi what is your object cache setting ? run netstat -lnp | grep memcached and see what it returns ? Best regards, Hi there, it returns: Command netstat not found, but can be installed with: apt install net-tools Hi, yeah ? please install it and run it again Best regards, Hi there, Im not sure what to do here :$ apt install net-tools E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? you need to run it with sudo Thanks :$ netstat -lnp | grep memcached (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) unix 2 [ ACC ] STREAM LISTENING 19587 - /var/www/memcached.sock Hi, please screenshot me your object cache setting Best regards, Hi, is it the Host setting which is wrong? https://imgur.com/Sdo2X6N https://imgur.com/5UBjFlj https://imgur.com/IAC6rI8 change host to /var/www/memcached.sock port to 0 hmmm, should this fix the connection? https://imgur.com/UImBtlE Sorry, it now has changed to Passed, so I guess everything is fine now https://imgur.com/1twHK0L One question more, what settings should I use, if I want to use Redis? Thanks for great support yeah , try refresh page few times ? Hi, I have to solve the 503 issue first, before I can refresh and test site. Is there is a way to test the object cache with a command? Thanks! you can connect to memcached , and run stat command , see if memcached has something set/get , that will indirectly, indicate something was put into it and extract from it.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference