You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Günther Mittermayer <gu...@gmail.com> on 2006/09/14 16:58:28 UTC
[users@httpd] 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 <http://server1/>
BalancerMember http://server2:port <http://server2/>
BalancerMember http://server3:port <http://server3/>
BalancerMember http://server4:port <http://server4/>
</Proxy>
ProxyPass /logon balancer://portal/logon lbmethod=bytraffic
stickysession=jsessionid nofailover=off
ProxyPassReverse /logon balancer://portal/logon
Re: [users@httpd] mod_load_balance issue
Posted by Pid <p...@pidster.com>.
Have you looked in the logs to see what the source of the error message is?
Where is the error, the front server or the balanced servers?
Günther Mittermayer wrote:
> 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 <http://server1/>
> BalancerMember http://server2:port <http://server2/>
> BalancerMember http://server3:port <http://server3/>
> BalancerMember http://server4:port <http://server4/>
> </Proxy>
>
> ProxyPass /logon balancer://portal/logon lbmethod=bytraffic
> stickysession=jsessionid nofailover=off
> ProxyPassReverse /logon balancer://portal/logon
---------------------------------------------------------------------
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
RE: [users@httpd] mod_load_balance issue
Posted by Carles Güell <ca...@guellconsulting.com>.
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
HYPERLINK "blocked::http://www.guellconsulting.com/"www.guellconsulting.com
_____
De: Günther Mittermayer [mailto:guntherm2@gmail.com]
Enviado el: jueves, 14 de septiembre de 2006 16:58
Para: users@httpd.apache.org
Asunto: [users@httpd] 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 HYPERLINK "http://server1/" \nhttp://server1:port
BalancerMember HYPERLINK "http://server2/" \nhttp://server2:port
BalancerMember HYPERLINK "http://server3/" \nhttp://server3:port
BalancerMember HYPERLINK "http://server4/" \nhttp://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