Welcome! Log In Create A New Profile

Advanced

Re: Nginx stop function in service file

March 20, 2014 06:16AM
On Mar 20, 2014, at 12:28 , B.R. wrote:

> I am using the official Debian package (stable) and I noticed the service file, in its do_stop() function, sends SIGTERM to the master process.
>
> However, the docs say SIGTERM (and SIGQUIT) sent to the master process provokes a 'fast shutdown' whereas SIGQUIT would provoke a 'graceful shutdown'.
>
> Why is not SIGQUIT being used? What is the difference between those termination signals, speaking of nginx behavior?


Graceful shutdown means that nginx does not close active client connections. This may take hours.


--
Igor Sysoev
http://nginx.com
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx stop function in service file

B.R. March 20, 2014 04:30AM

Re: Nginx stop function in service file

Igor Sysoev March 20, 2014 06:16AM

Re: Nginx stop function in service file

B.R. March 20, 2014 01:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 108
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready