Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No response from Apache2 at client

Status
Not open for further replies.

dmfirst

Programmer
Apr 9, 2001
5
GB
I am trying to uncover a problem that has materialised with an Apache2/Tomcat based application. The installation has been running without problem for a year, but recently a new web service has been added. As a result of this, the number of concurrent server requests that have to be dealt with has increased significantly. What happens is that when a batch of say 50 to 100 concurrent requests are sent to the server, one of them receives no response at all (i.e. nothing - no message from the server at all) whereas all the others are successful. An interesting part of the problem is that the failed request does not appear in the transfer logs at all. Any ideas on what would cause this to happen?

David Mellors
First Light Associates
 
I assume you're using mod_jk or mod_jk2 to talk to tomcat. You may want to check your httpd.conf file for the following section...

# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

If you want to be sure, Change 100 to 0 and restart httpd.
 
It appears that the problem was to do with network configuration. A reengineering of the network for some other problem seems to have fixed this, as it has not failed testing since

David Mellors
First Light Associates
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top