Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

Graceful shutdown and idle connection

$
0
0
Considering the following sequence of events:

1. A client makes a connection with Nginx, no data is sent as yet
2. Nginx receives a SIGQUIT,graceful shutdown signal
2a. If there is no data from client, Nginx waits till "client_header_timeout" value before closing the connection and proceeding the shutdown
2b. If client sends a request before the above timeout, Nginx closes the connection after serving the request.

Is that correct behavior? Shouldn't Nginx close the idle connections immediately after receiving the shutdown signal?

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>