On Thu, Aug 4, 2011 at 2:14 AM, Jeff Poling <jpol...@moody.edu> 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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to