https://issues.apache.org/bugzilla/show_bug.cgi?id=55722
Bug ID: 55722 Summary: can't receive the response header message from tomcat, network problems or tomcat (127.0.0.1:8009) is down (errno=11) Product: Tomcat Connectors Version: 1.2.30 Hardware: PC OS: Linux Status: NEW Severity: blocker Priority: P2 Component: mod_jk Assignee: dev@tomcat.apache.org Reporter: sujeet_...@rediffmail.com Hi We are intermittently getting the HTTP 504 error with message "HTTP: 504 - timed out waiting for gateway" while executing webservice call. The frequency of this kind of errors is too less less than 0.02%. However this is very critical from business perspective and even that % of error tolerance is also not acceptable. We tried to dig down through different logs but we were able to trace correlated exceptions pertaining to these Http 504 errors in mod_jk logs only. Below is the excerpt from mod_jk logs. [Fri Oct 25 09:57:38 2013] worker1 somewebservice.com 0.003911 [Fri Oct 25 09:57:42 2013] worker1 some.webservice.com 1.560307 [Fri Oct 25 09:57:43 2013] worker1 somewebservice.com 0.002741 [Fri Oct 25 09:57:47 2013] [8575:47986549924192] [info] ajp_connection_tcp_get_message::jk_ajp_common.c (1230): (worker1) can't receive the response header message from tomcat, network problems or tomcat (127.0.0.1:8009) is down (errno=11) [Fri Oct 25 09:57:47 2013] [8575:47986549924192] [error] ajp_get_reply::jk_ajp_common.c (2055): (worker1) Tomcat is down or refused connection. No response has been sent to the client (yet) [Fri Oct 25 09:57:47 2013] [8575:47986549924192] [error] ajp_service::jk_ajp_common.c (2533): (worker1) sending request to tomcat failed (unrecoverable), (attempt=1) [Fri Oct 25 09:57:47 2013] worker1 some.webservice.com 302.021976 [Fri Oct 25 09:57:47 2013] [8575:47986549924192] [info] jk_handler::mod_jk.c (2618): Service error=0 for worker=worker1 [Fri Oct 25 09:57:48 2013] worker1 somewebservice.com 0.003781 [Fri Oct 25 09:57:51 2013] worker1 some.webservice.com 10.727879 [Fri Oct 25 09:57:51 20 For reference- Workers.properties ( on 04) [root@some-server-in conf]$ cat workers.properties worker.list=worker1 # Set properties for worker1 (ajp13) worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009 #worker.worker1.lbfactor=50 worker.worker1.cachesize=30 worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1 worker.worker1.socket_timeout=300 We ran more than 10 endurance tests of 16 hrs duration however we are getting these kind of exception consistently. Expert comments how to tackle this really appreciated. Thanks Sujeet -- 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