[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62372] New: Load balancer byrequests required when bytraffic chosen


            Bug ID: 62372
           Summary: Load balancer byrequests required when bytraffic
           Product: Apache httpd-2
           Version: 2.4.33
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_balancer
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: ewilde@xxxxxxxxxxxxxxxxxx
  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

  LoadModule lbmethod_bytraffic_module \

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 \

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 status=+H
    Require all granted
    ProxySet lbmethod=bytraffic

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx