有台机器的litespeed卡了 ,web失联,参考litespeed给的shell
To start the web server:
/usr/local/lsws/bin/lswsctrl startTo stop the web server:
/usr/local/lsws/bin/lswsctrl stopTo restart the web server:
/usr/local/lsws/bin/lswsctrl restartTo reload the configuration:
/usr/local/lsws/bin/lswsctrl reload
怎么操作都没用。
看了下官方文档提了 PID file
To read the PID file:
cat /tmp/lshttpd/lshttpd.pidps -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。