LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   how to tell when restart is finished (http://www.litespeedtech.com/support/forum/showthread.php?t=6045)

accassar 06-26-2012 09:41 PM

how to tell when restart is finished
 
Hello,

I am driving LSWS from some custom automation and after modifying the configuration we use the lswsctl restart to reload the config.

The issue I am having is that if the restart doesn't complete (ie the old lsws is still hanging around finalising requests) and I issue another reload, the processes just back up and I start getting intermittant errors.

What is the best way to know when LSWS has finished the reload and the old process has exited?

webizen 06-27-2012 05:08 PM

do full stop/start.


All times are GMT -7. The time now is 03:11 PM.