ColdFusion 2021 Apache connector or Apache not closing connections
Centos 7.9
ColdFusion 2021 w/ Update1
Apache 2.4.6
Connector version:321158
I have noticed that when using Apache via the connector to serve ColdFusion pages that over time the server quits responding. Looking in the mod_jk.log I see:
[info] ajp_connection_tcp_get_message::jk_ajp_common.c (1443) : (cfusion) can't receive the response header message from tomcat, tomcat (127.0.0.1:8020) has forced a connection close for socket 13
[error] ajp_get_reply:: jk_ajp_common.c (2420) : (cfusion) Tomcat is down or refused connection. No response has been sent to the client (yet)
[info] ajp_service::jk_ajp_common.c (3000) : (cfusion) sending request to tomcat failed (recoverable), (attempt=1)
Checking netstat I see thousands of connections in the CLOSE_WAIT state.
Restarting Apache does not clear the hung sockets
Restarting ColdFusion does clear them
Using the built-in Tomcat server on port 8500 I do not see this issue.
Is this an Apache problem or a connector problem?
Thanks,
Dan Mather
