You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jehan <je...@gmail.com> on 2012/05/17 09:07:26 UTC

[users@httpd] Loadbalancing (AJP) problem, all workers are in error state

Dear All

We have done loadbalancing using ajp connector with one apache2 (access
sever) and 3 tomcats. some time users/clients are getting error message
"Server temporally un-available". In apache access log I am getting message
"all workers are in error state"

 what is problem in my following configuration?
please suggest.


//httpd.conf

ProxyPass / balancer://myCluster/ stickysession=JSESSIONID|jsessionid
nofailover=On timeout=60
<Proxy balancer://myCluster>
    BalancerMember ajp://192.168.1.2:8009 route=sys02
    BalancerMember ajp://192.168.1.3:8009 route=sys03
    BalancerMember ajp://192.168.1.4:8009 route=sys04
</Proxy>

Some one can  past their configuration?


Thanks

Re: [users@httpd] Loadbalancing (AJP) problem, all workers are in error state

Posted by Igor Cicimov <ic...@gmail.com>.
"all workers are in error state"  usually means all your tomcats are down
or busy. Check the tomcat configuration and maybe tune the max threads
number.

On Thu, May 17, 2012 at 5:07 PM, Jehan <je...@gmail.com> wrote:

>
> Dear All
>
> We have done loadbalancing using ajp connector with one apache2 (access
> sever) and 3 tomcats. some time users/clients are getting error message
> "Server temporally un-available". In apache access log I am getting message
> "all workers are in error state"
>
>  what is problem in my following configuration?
> please suggest.
>
>
> //httpd.conf
>
> ProxyPass / balancer://myCluster/ stickysession=JSESSIONID|jsessionid
> nofailover=On timeout=60
> <Proxy balancer://myCluster>
>     BalancerMember ajp://192.168.1.2:8009 route=sys02
>     BalancerMember ajp://192.168.1.3:8009 route=sys03
>     BalancerMember ajp://192.168.1.4:8009 route=sys04
> </Proxy>
>
> Some one can  past their configuration?
>
>
> Thanks
>