Re: [users@httpd] Graceful draining of KeepAlive Connections

2016-11-16 Thread Yann Ylavic
Hello, On Tue, Nov 15, 2016 at 7:59 PM, Alex Kaiser wrote: > I would like for idle > KeepAlive connections to shut down immediately, is this not technically > possible for some reason? If it is possible, is it a bug that the > connections stick around? There is being worked in this bugzilla rep

Re: [users@httpd] Graceful draining of KeepAlive Connections

2016-11-15 Thread Bill Moseley
We had a similar issue with Keep-Alives so I catch USR1 in the application code and set a flag and then at the end of that request I set connection closed header and call child_terminate to kill off that child. IIRC, MaxRequestsPerChild doesn't include the number of keep-alive requests, so another

[users@httpd] Graceful draining of KeepAlive Connections

2016-11-15 Thread Alex Kaiser
Hello, I am having trouble gracefully draining connections from httpd when we have KeepAlive turned on. The problem seems specific to idle KeepAlive connections. It looks like when a process has an established KeepAlive connection and we send the main httpd process a WINCH or a USR1 signal, the