Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Add configuration option for the timeout for childs handling SIGTERM.

March 25, 2015 09:44AM
On Tue, Mar 24, 2015 at 6:01 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:

> If there are good reasons why the termination takes so long - we
> may consider adding another iteration. Otherwise - yes, it'll
> remain fixed.
>

I have a test to see if the module shuts down properly upon receiving
SIGTERM.
This test starts up nginx plus a lot of synthetic load in parallel.
The SIGTERM signal is sent a few seconds after both are up and running, at
which point lots of work will have queued up in the module's worker threads.
Without valgrind, the current timespan nginx allows for wrapping up is
(more then) enough, but with valgrind, unwinding takes a longer time.
Sometimes less, sometimes more than the current limit nginx imposes, which
makes the test unreliable.

Does that count as a good reason?
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Add configuration option for the timeout for childs handling SIGTERM.

oschaaf 576 March 23, 2015 03:42PM

Re: [PATCH] Add configuration option for the timeout for childs handling SIGTERM.

Maxim Dounin 250 March 23, 2015 06:20PM

Re: [PATCH] Add configuration option for the timeout for childs handling SIGTERM.

oschaaf 288 March 23, 2015 06:36PM

Re: [PATCH] Add configuration option for the timeout for childs handling SIGTERM.

Maxim Dounin 258 March 24, 2015 01:04PM

Re: [PATCH] Add configuration option for the timeout for childs handling SIGTERM.

oschaaf 319 March 25, 2015 09:44AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 221
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