Re: Load Balancing question

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

 



On Thu, Aug 4, 2011 at 2:14 AM, Jeff Poling <jpoling@xxxxxxxxx> wrote:
> Thanks.  For whatever reason, an apachectl stop and an apachectl start corrected the issue- the balancer-manager now reflects the config in the config file
>

mod_proxy_balancer is dangerous to use when doing graceful restarts.
The state of the balancers is saved, and then re-applied, however
various things can cause the settings to be applied to a different
balancer member.

This is a long standing bug, and hence (I presume) quite hard to fix.
These bug reports describe it

https://issues.apache.org/bugzilla/show_bug.cgi?id=44736
https://issues.apache.org/bugzilla/show_bug.cgi?id=45950

The only solutions are:

1) Don't use mod_proxy_balancer. Proxy to a local instance of ha-proxy
or varnish running on localhost, and use that to manage your backends
or
2) Don't use graceful restarts.

Both suck. You'll see the bug dates back over 3 years, and there is no
intention to fix it as far as I know. At $JOB, we're stopping using
mod_proxy_balancer now, we're slowly migrating each balancer to
ha-proxy.

Cheers

Tom

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux