Dear Apache2 community,
having installed Apache2 2.4.3 in combination with:
- mod_proxy_balancer (not “mod_jk”!)
- mod_proxy_ajp
- mod_proxy
and the following virtual host configuration:
BalancerMember ajp://rb-wcmstc1.de.bosch.com:8010 loadfactor=50 ping=5 retry=10 route=rb-wcmstc1 connectiontimeout=5 timeout=300
BalancerMember ajp://rb-wcmstc2.de.bosch.com:8010 loadfactor=50 ping=5 retry=10 route=rb-wcmstc2 connectiontimeout=5 timeout=300
- request-timeout (300 seconds)
- connection-timeout (5 seconds)
- cping/cpong-timeout (5 seconds)
being exceeded. The Apache2 error logs prove that:
- [Mon Apr 08 18:23:16.954749 2013] [proxy_ajp:error] [pid 5030:tid 48] (70007)The timeout specified has expired: AH01030: ajp_ilink_receive() can't receive header
- [Mon Apr 08 18:25:28.422599 2013] [proxy_ajp:error] [pid 6623:tid 52] (70007)The timeout specified has expired: [client 10.25.131.11:28706] AH00897: cping/cpong failed to xx.xx.xx.xxx:8010 (rb-wcmstc1.xx.xxxxx.xxx), referer:
https://rb-xxxxx.xx.xxxxx.xxx/fs4webedit/message.jsp
- might be logged when a request took longer >300 seconds
- might be logged when ping request took longer >5 seconds
Taking a look at the HTTPS Access logs, we see for:
- a request really taking 300 sec. It leads to the above error log entry at 18:23:16 – five minutes later:
xx.xx.xx.xxx - - [08/Apr/2013:18:18:16 +0200] "POST /fs4webedit/Dispatcher HTTP/1.1" 302 295 "…" "F0FDAFA023B323A62813598C985C3AB1.rb-wcmstc1" "-" TLSv1 RC4-MD5 300004793
Now, our questions are:
- what provokes the 2nd error message: “AH01012: ajp_handle_cping_cpong: ajp_ilink_receive failed” (a stop-the-world garbage collection on Tomcat side?)
- what are the consequences if that happens?
- how to prevent it (simply increasing the ping timeout?)
Mit freundlichen Grüßen / Best regards,
Holger King
CI/AFP2
Tel. 0711-811-59112
BeQIK