My OLS returns 500 error. So I tried to restart with "systemctl restart openlitespeed". No message returns, but still 500 error from the domain log.
Then I tried to kill process ID
But as you see, the process 116734 is still there. At the end, I needed to restart the server.
How can I kill OLS's processes and restart the service without restart the whole server?
Thank you.
Then I tried to kill process ID
Code:
[root@main httpd]# ps aux |grep openlitespeed
root 42160 0.0 0.0 112812 976 pts/0 S+ 17:12 0:00 grep --color=auto openlitespeed
root 116734 0.0 0.0 39880 2476 ? S 00:11 0:11 openlitespeed (lshttpd - main)
apache 116736 2.0 0.7 167956 120036 ? SN 00:11 20:51 openlitespeed (lshttpd - #01)
apache 116737 2.0 0.7 165260 119232 ? SN 00:11 20:50 openlitespeed (lshttpd - #02)
[root@main httpd]# kill 116734
[root@main httpd]# kill 116734
[root@main httpd]# ps aux |grep openlitespeed
root 42166 0.0 0.0 112812 976 pts/0 S+ 17:12 0:00 grep --color=auto openlitespeed
root 116734 0.0 0.0 39880 2476 ? S 00:11 0:11 openlitespeed (lshttpd - main)
apache 116736 2.0 0.7 167956 120036 ? SN 00:11 20:51 openlitespeed (lshttpd - #01)
apache 116737 2.0 0.7 165260 119232 ? SN 00:11 20:50 openlitespeed (lshttpd - #02)
How can I kill OLS's processes and restart the service without restart the whole server?
Thank you.