osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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@xxxxxxxxxxx> ---
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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx