On Aug 4, 2011, at 7:40 AM, Tom Evans wrote: > 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. > You will note that the balancer in 2.3/2.4 resolves this issue. BTW, the idea that mod_proxy_balancer is "broken" only means that it does not do what you expect, which is restore all local mods made via balancer_manager, but this was never guaranteed. --------------------------------------------------------------------- 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