You should take care that the time-out in your application server is the same that you have in apache because if your backen server gives a time-out to apache it wil give a 500 error to the client
 

Carles Güell

 

Güell Consulting

C/ La Remallaire 17 Despatx 6.

CP08302 Mataró

Tel.  93.798.40.44

Fax. 93.758.86.46

www.guellconsulting.com

 


De: Günther Mittermayer [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 14 de septiembre de 2006 16:58
Para: [email protected]
Asunto: [EMAIL PROTECTED] mod_load_balance issue

Hi all,

i have httpd working with mod_proxy and mod_load_balance, but my system is very unstable. In the middle of my session I get some 500 Internal Server Error messages.  If I comment out from my httpd.conf all application servers but one, the problem goes away.

It seems to me that apache is not forwarding the requests to the same server within the same session.
As far as I understand, this is what the "stickysession" parameter should do...

Below is the part of my httpd.conf that matters, am I missing something?

Thanks in advance,
Günther.

=============================
<Proxy balancer://portal>
BalancerMember http://server1:port
BalancerMember http://server2:port
BalancerMember http://server3:port
BalancerMember http://server4:port
</Proxy>

ProxyPass /logon  balancer://portal/logon lbmethod=bytraffic stickysession=jsessionid nofailover=off
ProxyPassReverse /logon balancer://portal/logon

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.3/447 - Release Date: 13/09/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.3/447 - Release Date: 13/09/2006

Reply via email to