Hi, I use a combination of tomcat (version 6.0.32) and apache (version 2.2.17) connected by mod_proxy_ajp connector. The website starts responding slow all of a sudden and I see that tomcat process uses 99% of the CPU. At the same time I see the following in apache error_log:
[Sun Jun 10 00:20:36 2012] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header [Sun Jun 10 00:20:36 2012] [error] ajp_read_header: ajp_ilink_receive failed [Sun Jun 10 00:20:36 2012] [error] (120006)APR does not understand this error code: proxy: read response failed from 10.128.18.60:9393 ( roplws01.hsn.net) I looked up for a solution on internet and it recommended me to set the connectionTimeout property of AJP connector. Currently its set to default which is eternity. http://www.automationadventures.com/2009/03/30/tomcat-uses-100-of-cpu/ I can set the timeout, but I am not sure what will happen if AJP doesn't receive the response within the given timeout period. Will it not serve that given request? Please let me know if anyone has any experience in AJP connector. Thanks, DS.