You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/03/28 17:38:27 UTC

[Bug 51814] mod_proxy in Apache HTTP 2.2 FIN_WAIT2 in server side, it leaves as CLOSE_WAIT for a long time in mod_proxy side.

https://bz.apache.org/bugzilla/show_bug.cgi?id=51814

--- Comment #4 from Niklas Keller <me...@kelunik.com> ---
This is very much a bug IMO. If there's no TTL set on the ProxyPass directive
and keep-alive is enabled on the origin server, there will be lots and lots of
connections in CLOSE_WAIT. I guess if there are multiple backends this could
easily exhaust the pool of ephemeral ports? Apache should set the TTL
automatically to the timeout of the keep-alive header if it exists IMO.

See https://i.imgur.com/5pvBYwe.png for what happens if the origin enables
keep-alive connections.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org