https://bz.apache.org/bugzilla/show_bug.cgi?id=42695

Hans Christian Holm <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO
                 CC|                            |[email protected]

--- Comment #5 from Hans Christian Holm <[email protected]> ---
(In reply to Mustapha Ait-Idir from comment #0)
> I'm using apache 2.2.4 with mod_proxy
> 
> My config is:
> -------------
> 
> ProxyRequests off 
> <Proxy balancer://tomcats/>  
>   BalancerMember ajp://testapp1.tres.bnc.ca:8881 route=z1.tc1 loadfactor=1 
>                                                  keepalive=On retry=30
> </Proxy> 
> 
> 
> And I loss the connection for a few second and the problem occured few times 
> per days.
> 
> When I check the apache logs, I got a blancer problem even if tomcat still 
> alive.
> 
> 
> apache error logs:
> ------------------
> 
> Mon Jun 11 16:03:42 2007] [error] proxy: AJP: failed to make connection to 
> backend: testapp1.tres.bnc.ca
> [Mon Jun 11 16:03:42 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:03:42 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:03:42 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:03:42 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:03:42 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:03:52 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:03:52 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:03:52 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:03:52 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:03:52 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:02 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:02 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:02 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:02 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:02 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:02 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:12 2007] [error] (146)Connection refused: proxy: AJP:
> attempt 
> to connect to 10.57.165.56:8881 (testapp1.tres.bnc.ca) failed
> [Mon Jun 11 16:04:12 2007] [error] ap_proxy_connect_backend disabling worker 
> for (testapp1.tres.bnc.ca)
> [Mon Jun 11 16:04:12 2007] [error] proxy: AJP: failed to make connection to 
> backend: testapp1.tres.bnc.ca
> [Mon Jun 11 16:04:12 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:12 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:12 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:12 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:22 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:22 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:22 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:22 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:22 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:22 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:32 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:32 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:32 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:32 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:32 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:42 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:42 2007] [error] (146)Connection refused: proxy: AJP:
> attempt 
> to connect to 10.57.165.56:8881 (testapp1.tres.bnc.ca) failed
> [Mon Jun 11 16:04:42 2007] [error] ap_proxy_connect_backend disabling worker 
> for (testapp1.tres.bnc.ca)
> [Mon Jun 11 16:04:42 2007] [error] proxy: AJP: failed to make connection to 
> backend: testapp1.tres.bnc.ca
> [Mon Jun 11 16:04:42 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:42 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:42 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:42 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:52 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:52 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:52 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:52 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:04:52 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:05:02 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:05:02 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:05:02 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:05:02 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:05:02 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:05:02 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:05:12 2007] [error] proxy: BALANCER: (balancer://tomcats).
> All 
> workers are in error state for route (z1.tc1)
> [Mon Jun 11 16:05:13 2007] [info] [client 10.57.159.118] Connection to child
> 5 
> established (server testweb.tres.bnc.ca:443)
> [Mon Jun 11 16:05:13 2007] [info] Seeding PRNG with 136 bytes of entropy
> [Mon Jun 11 16:05:13 2007] [info] [client 10.57.159.118] Connection to child
> 2 
> established (server testweb.tres.bnc.ca:443)
> [Mon Jun 11 16:05:13 2007] [info] Seeding PRNG with 136 bytes of entropy
> [Mon Jun 11 16:05:13 2007] [info] Client requested a 'session-resume' but we 
> have no such session.
> [Mon Jun 11 16:05:13 2007] [info] Client requested a 'session-resume' but we 
> have no such session.
> [Mon Jun 11 16:05:13 2007] [info] Initial (No.1) HTTPS request received for 
> child 2 (server testweb.tres.bnc.ca:443)
> [Mon Jun 11 16:05:13 2007] [info] Initial (No.1) HTTPS request received for 
> child 5 (server testweb.tres.bnc.ca:443)
> [Mon Jun 11 16:05:15 2007] [info] [client 10.57.159.118] Connection closed
> to 
> child 2 with unclean shutdown (server testweb.tres.bnc.ca:443)
> [Mon Jun 11 16:05:15 2007] [info] [client 10.57.159.118] Connection closed
> to 
> child 5 with unclean shutdown (server testweb.tres.bnc.ca:443)
> [Mon Jun 11 16:05:15 2007] [info] [client 10.57.159.118] Connection to child
> 3 
> established (server testweb.tres.bnc.ca:443)

(In reply to Mustapha Ait-Idir from comment #1)
> More details regarding OS, Hardware, severity and Summary

(In reply to jfclere from comment #2)
> Check catalina.out on Tomcat side. You probably have an error like:
> All threads ({0}) are currently busy, waiting. Increase maxThreads ({1}) or
> check the servlet status.
> Increase maxThreads in server.xml or find why the threads are hanging in TC.

(In reply to Jim Jagielski from comment #3)
> This is old. Please test/confirm with more recent versions and reopen if
> needed.

(In reply to Ralf Kraudelt from comment #4)
> When I move from 2.2.11 to 2.2.13 or 2.2.14, this problem occurs. When I
> move back to 2.2.11, the problem disappears. Apache HTTPD runs under Windows
> 2003SP2.
> 
> My configuration is:
> 
> <Proxy balancer://sbhome1>
>     BalancerMember ajp://sbhome-tomcat1:8009/qisserver keepalive=On
> route=wzvx13
>     BalancerMember ajp://sbhome-tomcat4:8009/qisserver keepalive=On
> route=wzvx08
>     ProxySet lbmethod=bybusyness
> </Proxy>
> ProxyPass /qisserver balancer://sbhome1 stickysession=JSESSIONID|jsessionid
> nofailover=On timeout=60
> 
> The error is:
> [Tue Oct 13 09:36:41 2009] [error] ajp_read_header: ajp_ilink_receive failed
> [Tue Oct 13 09:36:41 2009] [error] (120006)APR does not understand this
> error code: proxy: read response failed from 141.27.194.8:8009
> (sbhome-tomcat4)
> [Tue Oct 13 09:36:41 2009] [error] proxy: BALANCER: (balancer://sbhome1).
> All workers are in error state for route (wzvx08)
> [Tue Oct 13 09:36:41 2009] [error] proxy: BALANCER: (balancer://sbhome1).
> All workers are in error state for route (wzvx08)
> 
> Tomcat is 6.0.18, Java is 1.5b16 on SLES10SP2 64Bit, VMWare ESX 3.5. During
> the errors in Apache's error.log (1-2 minutes), our Tomcat application seems
> not to respond and loses it's database connections. Our application logs
> show some kind of blackout (no entries) for the time of unresponsiveness.
> After 1-2 minutes, Tomcat continues to work without error.
> 
> There are no messages regarding threads nor anything else in Tomcat. The
> error occurs in high load (not overload) situations on both Tomcat servers.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to