Welcome! Log In Create A New Profile

Advanced

Nginx reload process in detail

April 27, 2017 05:21AM
We have a persistent connection to Nginx on which we are issuing https requests. Now when we do a reload, the persistent connections (the requests which are already accepted) are failing as soon as the reload was issued. Those connections are being dropped. Is this the expected behavior?

In the Nginx documentation, it was mentioned that the older worker process would continue to run untile they have served the accepted inflight requests and then would go down. But the actual behavior seems to be different as the persistent connections are being dropped as soon as a configuration reload was issued.

To add to the above question, while reload was in progress, i am trying to establish a new connection and its not being established. Can't the new worker processes which were spawned as a result of configuration reload, straight away serve the incoming new connections?
Subject Author Posted

Nginx reload process in detail

shivramg94 April 27, 2017 05:21AM

Re: Nginx reload process in detail

alexsamad April 27, 2017 07:08AM

Re: Nginx reload process in detail

Francis Daly April 28, 2017 07:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 253
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready