Apache HTTPD And Apache Tomcat

 Hi, I am using Pivotal Web Server httpd 2.4. Wanted to understand if there is any known bug for CLOSE_WAITs

santosh k's profile image
santosh k posted Nov 21, 2019 06:15 AM

Hi, I am using Pivotal Web Server httpd 2.4 as a reverse proxy for a cluster of tomcat web application servers. F5 is in front of the webserver. Wanted to understand if there is any known bug for CLOSE_WAITs. Once in a while I see large number of sockets in CLOSE_WAIT thereby leading to application slowdown. Takes around 15 -20 minutes to get cleared.

Daniel Mikusa's profile image
Daniel Mikusa

Can you be more specific about the version that you are using? Are you really using Pivotal Web Server as that product has been discontinued for quite some time now? Or are you using Apache HTTP as built by Pivotal (i.e. this https://network.pivotal.io/products/p-apache-http-server/)? Also, what is the exact version of HTTP 2.4.x that you are using?

 

Thanks

santosh k's profile image
santosh k

Hi Daniel,

Exact version is httpd-2.4.27.1-64. The pivotal version is 6 from the config files.

Thanks,

Santosh

Daniel Mikusa's profile image
Daniel Mikusa

That's an extremely old version. My suggestion would be to update to something more recent like 2.4.41 and see if you're still seeing the issue.

 

Aside from that, you could look at the ChangeLog to see what has changed between your version and the latest to see if anything jumps, but it's a lot of versions to check and at the end of the day if you are hitting a bug you need to ugprade anyway.. Here is the link if you're interested.

 

https://www.apache.org/dist/httpd/CHANGES_2.4

santosh k's profile image
santosh k

Thanks Daniel, will plan to configure the recent one​.