Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 839AF6EB7 for ; Thu, 4 Aug 2011 11:41:00 +0000 (UTC) Received: (qmail 92008 invoked by uid 500); 4 Aug 2011 11:40:56 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 91042 invoked by uid 500); 4 Aug 2011 11:40:46 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 91031 invoked by uid 99); 4 Aug 2011 11:40:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 11:40:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tevans.uk@googlemail.com designates 209.85.212.45 as permitted sender) Received: from [209.85.212.45] (HELO mail-vw0-f45.google.com) (209.85.212.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 11:40:39 +0000 Received: by vws17 with SMTP id 17so1878592vws.18 for ; Thu, 04 Aug 2011 04:40:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=WbOXZEiziy5CPtmi+lCTWK5ngY98Hc5bqkwTV6cmX7c=; b=bb2KMnEa2oll6aNxY8lo0QPPRbgctPauqI22R4MlB8mLgHiwOiBk5NxwhnBIp1MO5y wwPv6MZC+eo3UZNTYNypUoiRLoAzhoj/7mlDd2ZbOttZqdmfQZ6CPW5QvRHGsk/9PajD DGwZNasuvYvZistFLaDkLTfaTY1mMRQXLknsE= MIME-Version: 1.0 Received: by 10.52.188.68 with SMTP id fy4mr756737vdc.91.1312458018723; Thu, 04 Aug 2011 04:40:18 -0700 (PDT) Received: by 10.52.167.33 with HTTP; Thu, 4 Aug 2011 04:40:18 -0700 (PDT) In-Reply-To: <9599A350A0A5884DB4E50D83F9287D0F01F2EA3A08@exchmbx01.moody.edu> References: <9599A350A0A5884DB4E50D83F9287D0F01F2EA3933@exchmbx01.moody.edu> <1312413122.5739.224.camel@aceror-TECRA-A5> <9599A350A0A5884DB4E50D83F9287D0F01F2EA3A08@exchmbx01.moody.edu> Date: Thu, 4 Aug 2011 12:40:18 +0100 Message-ID: From: Tom Evans To: users@httpd.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [users@httpd] Load Balancing question On Thu, Aug 4, 2011 at 2:14 AM, Jeff Poling wrote: > Thanks. =C2=A0For whatever reason, an apachectl stop and an apachectl sta= rt 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=3D44736 https://issues.apache.org/bugzilla/show_bug.cgi?id=3D45950 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 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