You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/06/19 17:19:23 UTC
DO NOT REPLY [Bug 49468] New: Application stops working with
errno=11
https://issues.apache.org/bugzilla/show_bug.cgi?id=49468
Summary: Application stops working with errno=11
Product: Tomcat Connectors
Version: 1.2.30
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: mod_jk
AssignedTo: dev@tomcat.apache.org
ReportedBy: neil@JAMMConsulting.com
I have Tomcat 6.0.26 running behind Apache 2.2.3 using mod_jk 1.2.30.
Occasionally, my application stops responding and I see these errors in the
mod_jk log:
[Fri Jun 18 15:30:17.614 2010] [394:47652193829632] [info]
ajp_connection_tcp_get_message::jk_ajp_common.c (1230): (tomcat) can't
receive the response header message from tomcat, network problems or tomcat
(127.0.0.1:8009) is down (errno=11)
[Fri Jun 18 15:30:17.614 2010] [394:47652193829632] [error]
ajp_get_reply::jk_ajp_common.c (2055): (tomcat) Tomcat is down or refused
connection. No response has been sent to the client (yet)
[Fri Jun 18 15:30:17.614 2010] [394:47652193829632] [info]
ajp_service::jk_ajp_common.c (2540): (tomcat) sending request to tomcat
failed (recoverable), (attempt=1)
[Fri Jun 18 15:31:19.711 2010] [394:47652193829632] [info]
ajp_connection_tcp_get_message::jk_ajp_common.c (1230): (tomcat) can't
receive the response header message from tomcat, network problems or tomcat
(127.0.0.1:8009) is down (errno=11)
[Fri Jun 18 15:31:19.711 2010] [394:47652193829632] [error]
ajp_get_reply::jk_ajp_common.c (2055): (tomcat) Tomcat is down or refused
connection. No response has been sent to the client (yet)
[Fri Jun 18 15:31:19.711 2010] [394:47652193829632] [info]
ajp_service::jk_ajp_common.c (2540): (tomcat) sending request to tomcat
failed (recoverable), (attempt=2)
[Fri Jun 18 15:31:19.711 2010] [394:47652193829632] [error]
ajp_service::jk_ajp_common.c (2559): (tomcat) connecting to tomcat failed.
[Fri Jun 18 15:31:19.711 2010] [394:47652193829632] [info]
jk_handler::mod_jk.c (2618): Service error=0 for worker=tomcat
According to Rainer Jung, errno 11 is EAGAIN which should not be treated as an
error.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49468] Application stops working with errno=11
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49468
--- Comment #1 from Neil Aggarwal <ne...@JAMMConsulting.com> 2010-06-19 11:21:37 EDT ---
Created an attachment (id=25618)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25618)
workers properties file
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 49468] Application stops working with errno=11
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49468
Rainer Jung <ra...@kippdata.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Rainer Jung <ra...@kippdata.de> 2010-06-20 07:17:10 EDT ---
Can you remove the socket_timeout from the worker configuration? It should fix
the problem.
Instead use socket_connect_timeout and activate cping/cpong with appropriate
timeouts. See for instance the example configuration that is part of the mod_jk
source download.
*** This bug has been marked as a duplicate of bug 48191 ***
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org