Re: nginx -s reload terminates connections

2017-07-07 Thread rlx01
I found worker_shutdown_timeout and the code for graceful shutdown was fairly easy to follow, so we've patched it to do what we want. Thanks! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,275328,275370#msg-275370 ___ nginx mailing list ngi

Re: nginx -s reload terminates connections

2017-07-07 Thread rlx01
Hi Maxim, Thank you for the link to the ticket. IMHO this "during configuration reload existing connections are closed as soon as they are idle" is kind of misleading as the connection is not idle since it's being slammed with requests, it's "idle" in the sense that nginx processed the last reque

Re: nginx -s reload terminates connections

2017-07-06 Thread rlx01
Hi, It's not a problem specific to wrk as we see this with heavy production traffic where nginx drops real requests. This is just the simplest possible test case. :) It also fails with siege, h2load, ab, etc. Thanks! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,275328,275330#msg-2

nginx -s reload terminates connections

2017-07-06 Thread rlx01
Hi, Using the official 1.12.0 package on debian 9 and the 1.12.0 ports package on FreeBSD 11-RC1, calling nginx -s reload drops connections. It's fairly easy to reproduce, I just install the fresh package from wherever, and serving the default index.html, I run wrk, and in the middle of the run I