OLS start automatic after some time

#1
I have killed all the processes and stopped the openlitespeed but it will start service automatically after some time.
can you tell me how to solve this any guide?
 
#8
hi I'm using lsphp in openlitespeed and I have disabled FastCGI but when I have changed my PHP version it takes more time to reflect on the domain.
should I need to enable FastCGI while using lsphp in OLS?

and when I have installed ols it shows status running but not running on port80 it takes time to run on port80 why?
 
Last edited:
#9
Not as I know. Maybe you can also run systemctl disable lsws, but I am not sure if it can help in your case.
I am getting this in the log when the service restarted automatically
2022-07-23 12:07:10.768225 [NOTICE] [291085] [AutoRestarter] cleanup children processes and unix sockets belong to process 291090 !
2022-07-23 12:07:10.868412 [NOTICE] [291085] [AutoRestarter] child process with pid=291090 exited with status=0!
2022-07-23 12:07:10.868604 [NOTICE] [291085] Server Stopped!
 

Cold-Egg

Administrator
#10
hi I'm using lsphp in openlitespeed and I have disabled FastCGI but when I have changed my PHP version it takes more time to reflect on the domain.
should I need to enable FastCGI while using lsphp in OLS?

and when I have installed ols it shows status running but not running on port80 it takes time to run on port80 why?
So you are now using OLS again? OpenLiteSpeed come with php detached mode by default, when you change the PHP version or php.ini, please restart the PHP process with command "killall -9 lsphp" to make settings take effect
 

Cold-Egg

Administrator
#11
I am getting this in the log when the service restarted automatically
2022-07-23 12:07:10.768225 [NOTICE] [291085] [AutoRestarter] cleanup children processes and unix sockets belong to process 291090 !
2022-07-23 12:07:10.868412 [NOTICE] [291085] [AutoRestarter] child process with pid=291090 exited with status=0!
2022-07-23 12:07:10.868604 [NOTICE] [291085] Server Stopped!
Not sure, need a full log or any tag with warn or error?
 
#12
Not sure, need a full log or any tag with warn or error?
2022-07-26 03:59:14.111051 [NOTICE] [5190] SIGHUP received, start count down to stop server...
2022-07-26 03:59:16.200407 [NOTICE] [5190] Delayed shutdown timeout reached, stop server...
2022-07-26 03:59:16.200703 [NOTICE] [5225] Start shutting down gracefully ...
2022-07-26 03:59:16.200722 [NOTICE] [5225] New litespeed process is ready, stop listeners
2022-07-26 03:59:16.200729 [NOTICE] [5225] Stop listener 152.228.249.248:443, fd 23.
2022-07-26 03:59:16.200899 [NOTICE] [5225] Event-loop lingering start.
2022-07-26 03:59:16.200921 [NOTICE] [5225] Event-loop lingering done.
2022-07-26 03:59:16.200963 [NOTICE] [5225] Shut down successfully!
2022-07-26 03:59:16.200971 [NOTICE] [5225] HttpServerImpl::releaseAll called.
2022-07-26 03:59:16.201039 [NOTICE] [5224] Start shutting down gracefully ...
2022-07-26 03:59:16.201057 [NOTICE] [5224] New litespeed process is ready, stop listeners
2022-07-26 03:59:16.201062 [NOTICE] [5224] Stop listener 152.228.249.248:443, fd 22.
2022-07-26 03:59:16.201069 [NOTICE] [5224] Stop listener *:7080, fd 20.
2022-07-26 03:59:16.201082 [NOTICE] [5224] Event-loop lingering start.
2022-07-26 03:59:16.201097 [NOTICE] [5224] Event-loop lingering done.
2022-07-26 03:59:16.201102 [NOTICE] [5224] Shut down successfully!
2022-07-26 03:59:16.201107 [NOTICE] [5224] HttpServerImpl::releaseAll called.
2022-07-26 03:59:16.202111 [NOTICE] [5190] [AutoRestarter] cleanup children processes and unix sockets belong to process 5224 !
2022-07-26 03:59:16.302971 [NOTICE] [5190] [AutoRestarter] child process with pid=5224 exited with status=0!
2022-07-26 03:59:16.303021 [NOTICE] [5190] [AutoRestarter] cleanup children processes and unix sockets belong to process 5225 !
2022-07-26 03:59:16.403131 [NOTICE] [5190] [AutoRestarter] child process with pid=5225 exited with status=0!
2022-07-26 03:59:16.403178 [NOTICE] [5190] Server Stopped!


hi I'm getting this error
 

Cold-Egg

Administrator
#13
"SIGHUP received, start count down to stop server."
This means lsws got a stop command from somewhere, need to identify the source of the restart request.
 
#14
hi,
actually, in my control panel I have two web servers OLS and Nginx but when I have set OLS to the default web server it is working its shows on port 80 OLS is running and Nginx has stopped but when I have changed the default web server to Nginx(or any other webserver) OLS restart after some time.
 
Top