Hi! Every couple of days, my Apache web server stops responding. When I look at the connections with `netstat`, I see that there are a large number* of TCP connections in the CLOSE_WAIT state. From my limited understanding of TCP, I believe this means that the HTTP client has indicated that it is done with the connection and has asked to terminate it, but my server has not agreed to terminate the connection. I'm guessing that the problem is more likely to be with my Tomcat or Lucee setup than a bug in Apache, hence my asking for help here. My current workaround is to restart Apache when this occurs.
Are there any error conditions that could result in Tomcat/Lucee leaking TCP connections?
Are there any settings I can change in Lucee or Tomcat to prevent connection leakage?
Thanks!
* "large number" means that there are about 10x the normal number in nominal operation