New Object Cache & LSMCD

#1
I'm pretty sure I'm the only person in the history of its existence who has ever installed LSCMD. That's...almost ... a joke. Seriously, Google up, you won't find more than ghost's fart in a dust storm in relation to it. It took me about 15 emails back and forth with Litespeed Tech support, who were Awesome kickass super patient Saints I might add ... just to get the damn thing working. In fact, they had to re-write the instructions due to the initial instructions not working as intended. Anyhoo...

I LOVE the fact that LSMCD is even mentioned in the new Object Cache...the real booger is getting it to work, which seems to be status quo for anything dealing with LSMCD. There isn't much in the way of documentation at all to even know if it is really doing its job. So that's my questions:

1. How do I get it working with LSMCD?
2. How do I verify it after? (As the processes don't seem to be the same)
 

Pong

Administrator
Staff member
#2
Can you tell us a little bit more about your OS you are running: CentOS 7?Ubuntu 17? or something else? How did you install it ?which wiki did you follow? what error did you experience? We can better assist you as far as we understand more about your situation.

If you like to run LiteSpeed WordPress cache plugin objects with LSCMD: is there anything missing from this wiki from your point of view?
https://www.litespeedtech.com/suppo...:cache:lscwp:configuration:cache:object_cache
 
Last edited:
#3
Doh, My Bad, Pong. :) Ok, the easiest place to start is if you can reference my support ticket for the original installation, it will give you pretty much everything you need to know there. LITESPEED SUPPORT TICKED [144842]

To my knowledge, there is only one wiki... https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:lsmcd:start

Jonathan Kagan was part of the team who helped me to finally install it. It did require the wiki be updated with current information. I just checked and it appears that the installation guide changed even more since my installation was finally completed.... at one point he showed me this, though I have no idea how he got it. Telnet, maybe?

+ echo '[OK] lsmcd: pid=10024.'
[OK] lsmcd: pid=10024.

I can definitely SSH and do a "service lsmcd restart" and it shows [ok]. I absolutely have to do "service lsmcd start" after a Graceful Restart / Restart.

  • CENTOS 6.9 virtuozzo [server] v68.0.27
  • LiteSpeed Web Server Enterprise 5.2.3
In LSC, the new Object Cache section shows this after I have it turned on and the proper IP/Port entered:

Status
Memcached Extension: Disabled
Redis Extension: Disabled
Connection Test: Not Available

Configuration (my server IP replaces 192.168.0.62)

Code:
Repl.HeartBeatReq=30
Repl.HeartBeatRetry=3000
Repl.MaxTidPacket=2048000
Repl.GzipStream=YES
Repl.LbAddrs=192.168.0.62:1234
Repl.ListenSvrAddr=192.168.0.62:1234
Repl.DispatchAddr=192.168.0.62:5501

Cached.Addr=192.168.0.62:11211
Cached.PriAddr=192.168.0.62:11000
Cached.Slices=8
Cached.Slice.Priority.0=100
Cached.Slice.Priority.1=100
Cached.Slice.Priority.2=100
Cached.Slice.Priority.3=100
Cached.Slice.Priority.4=100
Cached.Slice.Priority.5=100
Cached.Slice.Priority.6=100
Cached.Slice.Priority.7=100

Cached.ShmDir=/dev/shm/lsmcd

User=nobody
Group=nobody
CachedProcCnt=4
RepldSockPath=/tmp/repld.usock
CachedSockPath=/tmp/cached.usock.
TmpDir=/tmp/lsmcd
LogLevel=error
#LogLevel=dbg_medium
LogFile=/tmp/lsmcd.log
 
Last edited by a moderator:

Pong

Administrator
Staff member
#5
I do see the ticket #144842 has been resolved on Feb 1 and we did not see you report any futher issue any anymore. Our system engineer helpped you to fix the problem there. Basically after you installed memcached or lscmd, you also need to enable php-memcached to make it work.
Still any pending issue?
 
#6
Yes, it is definitely up and running and I can see the section in Litespeed Cache telling me that it si enabled.


My question here is more about how to verify that independently of the Litespeed Cache plugin.

Where/How do I enable php-memcached? Is that in the php options?
 
Top