apache balancermember not listening to max connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux