https://bz.apache.org/bugzilla/show_bug.cgi?id=63859
Bug ID: 63859 Summary: AJP cping/cpong mode failing on Tomcat 9.x Product: Tomcat 9 Version: 9.0.26 Hardware: PC Status: NEW Severity: regression Priority: P2 Component: Connectors Assignee: dev@tomcat.apache.org Reporter: aurel...@pernoud.org Target Milestone: ----- Hello, We have a common infratructure for all our Tomcat instances (7,8&9) based on httpd + mod_jk / ajp. We implemented a while ago cping/pong om httpd with mode A, and it works perfectly with Tomcat 7&8. [info] ajp_handle_cping_cpong::jk_ajp_common.c (976): (tomcat9) timeout in reply cpong after 10000 ms. Socket = 31 (event=110) [info] ajp_maintain::jk_ajp_common.c (3464): (tomcat9) failed sending request, socket -1 keepalive cping/cpong failure (errno=110) Leading progressively to [info] ajp_service::jk_ajp_common.c (2775): (tomcat9) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2) [error] ajp_service::jk_ajp_common.c (2796): (tomcat9) connecting to tomcat failed (rc=-3, errors=1, client_errors=0). [info] service::jk_lb_worker.c (1601): service failed, worker tomcat9 is in error state We use the latest mod_jk (mod_jk/1.2.46) I tried using Tomcat native protocol (which we never used so far), same error. I tried to look into tomcat 9 logs, nothing shows, and Tomcat is still up and running (Inspecction via JMX shows everything ok, Probe console and manager console shows no limit...). I even tried to run a massload using Jmeter on AJP port while the error was showing in httpd logs : no error, all the GET ends in success. But httpd still sees a cping/cpong error. In the end I may have fixed the issue by changing the mod_jk parameter and disabling the "cping cpong" mode : worker.tomcat9.ping_mode=C instead of previously worker.tomcat9.ping_mode=A (which does the cping/cpong on a regular basis) => Since I changed this I don't have any errors in httpd. So I suspect a regression in Tomcat 9 somewhere with AJP protocol, even though I couldn't find any error in Tomcat logs ... Not sure if I can help more, just wanted to highlight this issue but if you need more detail or debug log don't hesitate. The settings of my connectors (7 8 & 9 ) are the same : <Connector port="xxxx" protocol="AJP/1.3" maxThreads="400" connectionTimeout="600000"/> -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org