Skip to main content
Inspiring
August 11, 2021
Answered

ColdFusion 2021 Apache connector or Apache not closing connections

  • August 11, 2021
  • 1 reply
  • 1338 views

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

This topic has been closed for replies.
Correct answer Dan Mather

I installed a previous version of the connector and the issue seems to have gone away (I had received serveral engineeering versions trying to resolve a different problem.)  All is well now.

 

Dan Mather

1 reply

Inspiring
August 11, 2021

Update --I ran the Apache Server Status and can see Apache is running just fine -it closes the connection and frees the child processes.  From the Apache perspective things are fine.

 

This leads me to suspect the connector is not closing the connection.

 

Dan

Dan MatherAuthorCorrect answer
Inspiring
August 13, 2021

I installed a previous version of the connector and the issue seems to have gone away (I had received serveral engineeering versions trying to resolve a different problem.)  All is well now.

 

Dan Mather

PossumJohn
Participating Frequently
September 8, 2021

Good afternoon!
Is there more information on this issue available?  We're running CF-2021 on a Solaris server.  Which version of WSConfig is current & which is the previous version?  Where can we get the previous version?  Any info on this issue would be most helpful.

Thanks!
V/R
John