Server don't restart if new request comming

Discussion in 'Bug Reports' started by Grzegorz Derebecki, May 30, 2010.

  1. Grzegorz Derebecki

    Grzegorz Derebecki New Member

    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?
  2. mistwang

    mistwang LiteSpeed Staff

    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".

Share This Page