https://issues.apache.org/bugzilla/show_bug.cgi?id=56261
Bug ID: 56261
Summary: Load balancing method bybusiness not working properly
Product: Apache httpd-2
Version: 2.2.21
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_balancer
Assignee: [email protected]
Reporter: [email protected]
We have set up this conifguration on an HTTPD reverse proxy:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
Header add Set-Cookie "APACHE_ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/"
env=BALANCER_ROUTE_CHANGED
<Proxy balancer://AppCluster>
BalancerMember https://node1.service.int route=1
BalancerMember https://node2.service.int route=2
BalancerMember https://node3.service.int route=3
BalancerMember https://node4.service.int route=4
ProxySet stickysession=APACHE_ROUTEID
ProxySet lbmethod=bybusyness
</Proxy>
We expect requests to be balanced equally across all nodes; but the first node
is overloaded
Here is the output of the balancer-manager
StickySession Timeout FailoverAttempts Method
APACHE_ROUTEID 0 3 bybusyness
Worker URL Route RouteRedir Factor Set Status Elected To
From
https://node1.service.int 1 1 0 Ok 2380166 3.5G 892M
https://node2.service.int 2 1 0 Ok 203860 292M 78M
https://node3.service.int 3 1 0 Ok 203250 294M 79M
https://node4.service.int 4 1 0 Ok 351205 511M 132M
There is only one kind of request made, always of the same dimension
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]