|
|||||||||||
|
Bug#453630: apache2: Major host parsing error in <Proxy balancer:/..> section
From: Benoit Plessis <benoit(at)plessis.info>
Date: Thu Nov 29 2007 - 14:54:05 EST
Hi,
Here is the config file:
BalancerMember
http://1.1.1.1
BalancerMember
http://1.1.1.3</Proxy> <Proxy balancer://back2>
BalancerMember
http://1.1.1.10
BalancerMember
http://1.1.1.11
BalancerMember
http://1.2.1.11
BalancerMember
http://1.1.1.31</Proxy> ---8<--------------------------------------------------------------------------
Here is the output of balancer-manager via html2text:
Worker URL Route RouteRedir Factor Status http://1.1.1.1 1 Ok http://1.1.1.3 1 Ok ===============================================================================**** LoadBalancer Status for balancer://back2 **** StickySession Timeout FailoverAttempts Method
0 3 byrequests
Worker URL Route RouteRedir Factor Status
http://1.1.1.1 1 Ok
http://1.1.1.1 1 Ok
http://1.2.1.11 1 Ok
http://1.1.1.3 1 Ok
===============================================================================
Apache/2.2.3 (Debian) Server at bd7 Port 80
Like you could see, there an abnormal shrink of the Worker URL in the second balancer status. It's kinda like when parsing the config file worker addresses are compared to previous worker but using the length() of the previous workers
And the traffic isn't sent to the configured Urls.
One way to workaround is reverse the definition of the balancer:
BalancerMember
http://1.1.1.10
BalancerMember
http://1.1.1.11
BalancerMember
http://1.2.1.11
BalancerMember
http://1.1.1.31</Proxy> <Proxy balancer://back1>
BalancerMember
http://1.1.1.1
BalancerMember
http://1.1.1.3</Proxy> ---8<-------------------------------------------------------------------------- But i fear that there is more implication than just this and than this could affect the entire mod_proxy module, since i've some weird result just using mod_rewrite and mod_proxy with same kind of destination URLs and traffic that flow where it shouldn't.
Regards,
Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Fri Nov 30 05:04:58 2007 This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:59:05 EDT |
||||||||||
|
|||||||||||