You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sander de Boer <sa...@eo.nl> on 2009/03/14 09:52:02 UTC

[users@httpd] apache balancermember not listening to max connections

Currently I am using a apache 2.2.6 instance with a balancer configuration:

<Proxy balancer://patmos>
   BalancerMember ajp://10.0.0.208:8009 route=tomcat01 max=100 smax=80
   BalancerMember ajp://10.0.0.228:8009 route=tomcat02 max=100 smax=80
</Proxy>
ProxyPass / balancer://patmos/ stickysession=JSESSIONID|jsessionid 
nofailover=Off

The backend servers has more than 512 established ajp connections each. 
That's more than the max=100 what is configured in the Apache 
BalancerMember.

512 is what I configured as maxThreads in my Tomcat connector.
Because 512 is the max for a tomcat instance, Apache got connection 
errors and disables that BalanceMember and the website is offline.

So, it seems to me Apache is not listening to the smax and max params on 
the BalancerMember.

Reading my error log:
[error] (145)Connection timed out: proxy: AJP: attempt to connect to 
10.0.0.208:8009 (10.0.0.208) failed
[error] ap_proxy_connect_backend disabling worker for (10.0.0.208)
[error] proxy: BALANCER: (balancer://patmos). All workers are in error state

So, any ideas what going wrong here?

Regards,
Sander

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org