Bug 60309 - Graceful restart sometimes causes connection problems
Graceful restart sometimes causes connection problems
 Status: NEW None Apache httpd-2 Unclassified Core (show other bugs) 2.4.23 PC All P2 normal with 2 votes (vote) --- Apache HTTPD Bugs Mailing List

 Reported: 2016-10-27 09:41 UTC by dnie 2017-03-02 11:22 UTC (History) 1 user (show) szg0000

Attachments

 Note You need to log in before you can comment on or make changes to this bug.
 dnie 2016-10-27 09:41:07 UTC When doing an graceful restart, I sometimes get errors on my clients. When testing with the "Apache JMeter" stress tool with 50 parallel HTTP clients, I get different errors from JMeter like: - Connection reset by peer: socket write error - host.domain.com failed to respond - SSLHandshakeException: Remote host closed connection during handshake This happens on about 10% of my graceful restarts. If this happens, 1 or more parallel HTTP connections are affected. Luca Toscano 2017-01-28 11:32:18 UTC Hi! Can you give us a bit more info about your settings? What MPM do you use? What it is its configuration? Is there an easy way to reproduce the issue? Thanks! dnie 2017-01-30 07:58:34 UTC Hi, We use Apache as a reverse proxy. Configuration is one virtual host with HTTPS. We use mod_proxy and mod_proxy_balancer. The MPM is mpm_winnt and its config is: ThreadsPerChild 250 MaxRequestsPerChild 0 To reproduce: Just run a stress test like Apache JMeter or Apache Bench on one existing location and keep it running. Then graceful restart Apache using command "httpd.exe -k restart -m Apache -d C:\path\to\apache" The restart allways succeed but in some cases the stress test shows some connections errors. Thanks for your help