LiteSpeed compatibility issue with cPanel > cPanel blocking LiteSpeed

mistwang

LiteSpeed Staff
#81
mistwang , Just to let you know, My server load is always 1 to 3 after upgrading to 3.3.8 , it was always less than 1 with the old versions.
Maybe cPanel restarts LSWS more frequently. Load will be higher during restart. There is no other changes that could result in higher load.
 

aww

Well-Known Member
#83
Question: given this new situation of cpanel killing other servers, is it save to rebuild apache while litespeed is running?

I had to rename httpd back temporarily to even make easyapache run, it wanted to lookup the old version in the file and refused to run otherwise
 

aww

Well-Known Member
#84
second question: after I use easyapache to rebuild apache, apparently cpanel destroys whatever else is in the /usr/local/apache/bin folder

is litespeed's wrapper going to notice that it's gone/missing and handle it or do I need to re-create the wrapper now?

sigh...
 

mistwang

LiteSpeed Staff
#85
Please check the parameter log file at /opt/lsws/logs/ap_cmd_param.log.
See what command parameter has been used by easyapache to check "httpd".
 

aww

Well-Known Member
#86
Please check the parameter log file at /opt/lsws/logs/ap_cmd_param.log.
See what command parameter has been used by easyapache to check "httpd".
There's no such file in that directory.
In fact all the file dates end with 2007

I'm trying a find -name for it without luck.
 

aww

Well-Known Member
#88
There is no more wrapper script. It got wiped out since I did the easyapache rebuild and nothing has been put back in place.

Strangely my server has been running fine for the past few days without any downtime without the wrapper. Maybe cpanel fixed the issue or maybe I've just been lucky and there have been no httpd restarts.
 

aww

Well-Known Member
#89
Oh duh. I know this is going to sound completely silly but I rarely go into the litespeed web admin panel and did not realize there were new options for the wrapper. That was completely left out of all the instructions ;)

So I see the new monitoring option and wrapper and have set them correctly and now I see that litespeed has created the wrapper and renamed httpd to the bak file.

I take it there is an extra step to switch back to apache now when desired - the httpd has to be renamed back manually?
 

mistwang

LiteSpeed Staff
#91
Yes, the load will be higher when LiteSpeed restarts, as all PHP processes need to be restarted as well.
However, cPanel do not use restart, it stop then start, then stop, start again, so it make the load even higher, I don't know why cPanel need to restart httpd multiple times.
 

aww

Well-Known Member
#92
Please note on upgrading to 3.3.9 I get this minor error:

Would you like to restart it right now [Y/n]?

[OK] Lease License key #2 will expire in xxx days!
/usr/local/apache/bin/httpd_ls_bak: invalid option -- k
So I'm not sure what's trying to run the old script or what?
Everything does work fine afterwards though...
 
Top