Litespeed 进程无法退出

分类:笔记 439浏览

有台机器的litespeed卡了 ,web失联,参考litespeed给的shell

To start the web server:
/usr/local/lsws/bin/lswsctrl start

To stop the web server:
/usr/local/lsws/bin/lswsctrl stop

To restart the web server:
/usr/local/lsws/bin/lswsctrl restart

To reload the configuration:
/usr/local/lsws/bin/lswsctrl reload

怎么操作都没用。

看了下官方文档提了 PID file

To read the PID file:
cat /tmp/lshttpd/lshttpd.pid

ps -ef | grep lshttpd

果然有进程,于是按官方要求

To stop the web server: kill XXXX (XXXX is the PID)
If the server did not stop, use: kill -9 XXXX

Kill后,再用shell start就OK。