|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
[Building Sakai] Loadbalancing problem, ajp connector, all workers are in error stateDear 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? Regards ---------------------------------------------------- Jehan Badshah | Sr. Software Engineer & Team Lead
Department of Research & Development National University of Computer and Emerging Sciences A.K. Brohi Road, H-11/4, Islamabad UAN: +92 (0)51 - 111 128 128 ext 344 _______________________________________________ sakai-dev mailing list sakai-dev@... http://collab.sakaiproject.org/mailman/listinfo/sakai-dev TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe" |
|
|
Re: [Building Sakai] Loadbalancing problem, ajp connector, all workers are in error stateHi Jehan,
Depending on your network configuration (i.e. apache http in DMZ, and tomcat in protected network). You will need to turn keep alive on so the ajp connections don't go stale. Many firewalls will drop connections after a certain time limit. If this doesn't work, you could try turning CPING on as that will first validate the connection before sending any data. Earle On Thu, May 17, 2012 at 2:23 AM, Jehan Badshah <jehan.badshah@...> 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? > > > Regards > ---------------------------------------------------- > Jehan Badshah | Sr. Software Engineer & Team Lead > Department of Research & Development > National University of Computer and Emerging Sciences > A.K. Brohi Road, H-11/4, Islamabad > UAN: +92 (0)51 - 111 128 128 ext 344 > > > > _______________________________________________ > sakai-dev mailing list > sakai-dev@... > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev > > TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... > with a subject of "unsubscribe" sakai-dev mailing list sakai-dev@... http://collab.sakaiproject.org/mailman/listinfo/sakai-dev TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe" |
|
|
Re: [Building Sakai] Loadbalancing problem, ajp connector, all workers are in error stateHi Earle,
Could turning keep alive on also solve issues with separate load balancer + HTTPD ajp (with ProxyPass off for faster static delivery) + Sakai Tomcat ? J-F On 17/05/2012 17:46, Earle Nietzel wrote: > Hi Jehan, > > Depending on your network configuration (i.e. apache http in DMZ, and > tomcat in protected network). > > You will need to turn keep alive on so the ajp connections don't go > stale. Many firewalls will drop connections after a certain time > limit. > > If this doesn't work, you could try turning CPING on as that will > first validate the connection before sending any data. > > Earle > > On Thu, May 17, 2012 at 2:23 AM, Jehan Badshah<jehan.badshah@...> 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? >> >> >> Regards >> ---------------------------------------------------- >> Jehan Badshah | Sr. Software Engineer& Team Lead >> Department of Research& Development >> National University of Computer and Emerging Sciences >> A.K. Brohi Road, H-11/4, Islamabad >> UAN: +92 (0)51 - 111 128 128 ext 344 sakai-dev mailing list sakai-dev@... http://collab.sakaiproject.org/mailman/listinfo/sakai-dev TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe" |
| Free embeddable forum powered by Nabble | Forum Help |