-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
1.4.20.Final
-
None
internalPingNode (NodePingUtil.java) is used to periodically test the connection to a node using HttpClientPingTask. Comment states that it should probably use the connections from the nodes pool, if there are any available.
Currently it uses HttpClientPingTask to do the actual work, but that does not use the connections from the nodes pool. It connects, sends the request and closes the connection.
In a RHEL7.4 environment with more than 4000 JBoss EAP 6.4 instance backends, this results in a lot of TCP connections in state TIME_WAIT and a unnecessary large conntrack table.
Can ConnectionPoolPingTask be used instead? Perhaps even remove HttpClientPingTask altogether.
Workaround: increase the healthCheckInterval (ModCluster.java) to Integer.MAX_VALUE, effectively disabling the health check.
- is related to
-
UNDERTOW-1200 AjpClientConnection should handle a closed connection like HttpClientConnection
- Resolved
- relates to
-
UNDERTOW-1201 Add ping support to the AJP client
- Resolved