httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] Load Balancing question
Date Thu, 04 Aug 2011 11:40:18 GMT
On Thu, Aug 4, 2011 at 2:14 AM, Jeff Poling <jpoling@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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message