Server don't restart if new request comming

#1
maybe this is not bug - but when client establish connection with server
and send request quicker that keep-alive connection timeout server will not shutdown

lest say our server has 5 second timeout and 2000 max request. in worst scenario server will restart after 2,7h.

Maybe it is possible to not accept new keep-alive request when server is shutting down?
 

mistwang

LiteSpeed Staff
#2
LSWS is designed to keep serving requests during graceful restart until the new instance of LSWS is ready to serve requests, then old process will stop accept new connection, turn off keepalive, and quit after all pending requests are finished or request timeout.

There might be some delay, but it wont be "keepalive timeout" X "max connections".
 
Top