https://bz.apache.org/bugzilla/show_bug.cgi?id=62372
Bug ID: 62372
Summary: Load balancer byrequests required when bytraffic
chosen
Product: Apache httpd-2
Version: 2.4.33
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_balancer
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I have an Apache httpd configuration file that includes:
ProxySet lbmethod=bytraffic
Under httpd-2.4.29, this directive works fine, providing the config file also
contains:
LoadModule lbmethod_bytraffic_module \
modules/mod_lbmethod_bytraffic.so
However, upon upgrading to httpd-2.4.33, with absolutely no other changes to
anything, this same config file fails with:
[proxy:crit] ... AH02432: Cannot find LB Method: byrequests
The problem can be fixed by adding this line to the config file:
LoadModule lbmethod_byrequests_module \
modules/mod_lbmethod_byrequests.so
This is new behavior. The byrequests load balancer method was never required
up until now. It looks like somebody may have inadvertently added an incorrect
requirement for byrequests when the "lbmethod=bytraffic" directive is included
in the config file. It would be nice if this could be fixed, so that one does
not have to build and include the byrequests load balancer method along with
the bytraffic method, if all they want to use is bytraffic.
If, on the other hand, this is now a legitimate requirement, it would be nice
to document the fact that mod_lbmethod_byrequests.so is also required when you
use the bytraffic method.
The build was from the 2.4.33 source, on CentOS 7, 1708, x86_64, using:
./configure --prefix=/usr/share/httpd-2.4 \
--with-apr=/usr/local/apr --with-apr-util=/usr/local/apr \
--with-ssl=/usr/local \
--enable-proxy --enable-rewrite --enable-ssl
The complete balancer definition from the config file is:
<Proxy balancer://ics>
BalancerMember http://10.100.0.248:8280
BalancerMember http://10.100.0.247:8280 status=+H
Require all granted
ProxySet lbmethod=bytraffic
</Proxy>
--
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]