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 68FCB17525 for ; Mon, 2 Feb 2015 13:43:30 +0000 (UTC) Received: (qmail 47057 invoked by uid 500); 2 Feb 2015 13:43:25 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 47019 invoked by uid 500); 2 Feb 2015 13:43:25 -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 47009 invoked by uid 99); 2 Feb 2015 13:43:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 13:43:25 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: encountered temporary error during SPF processing of domain of jim@jagunet.com) Received: from [69.252.207.35] (HELO resqmta-ch2-03v.sys.comcast.net) (69.252.207.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 13:43:19 +0000 Received: from resomta-ch2-18v.sys.comcast.net ([69.252.207.114]) by resqmta-ch2-03v.sys.comcast.net with comcast id nRiK1p0042Udklx01RiewY; Mon, 02 Feb 2015 13:42:38 +0000 Received: from [192.168.199.10] ([69.251.80.74]) by resomta-ch2-18v.sys.comcast.net with comcast id nRid1p00H1cCKD901RieSF; Mon, 02 Feb 2015 13:42:38 +0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) From: Jim Jagielski In-Reply-To: <5F2EE42C3A73C148962231FDD8AD23AC082680F0@ebn10.bonn.intern.aed-sicad.de> Date: Mon, 2 Feb 2015 08:42:37 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5F2EE42C3A73C148962231FDD8AD23AC082680F0@ebn10.bonn.intern.aed-sicad.de> To: users@httpd.apache.org X-Mailer: Apple Mail (2.2070.6) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1422884558; bh=fxuI11OL0fDoe4NYyV+KYLHQ3Vz2M4buxTekTDJnRIY=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To; b=NepVpVRx0kZLLOT482KirCjDrJIeF6jYAwfxXfTUpWvLQFqoNseSfsTsLaY0Y3C/T Hr/rTyNIGA5j0aOrbotM24z2CjQvmGMAoHRf+VwF3ltJ507gD9ko3/NTWFu4FVIArk FbrlePRllajH4pnBiAMMHUEC/61J77sEXjWEfeZtHToqMBjmRfiAF3o86TQ1e9g8GC 9K+Fj+YzWDK5LBs6F0bgirQOmZM6+uQ5xe1/3zkTz1o+XOk3LN2Ercw7i/WB8zPRjF mvh/ITFnUB/KgTtLQ1tieCU2TpD3EkEPTu2blzzKro5H+dUN87Wt4ElLn4Z6NkuiBL ll5VXkTEeEf8g== X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] load balancer byrequest algorithm I would not expect a specific pattern (or schedule), per se, but rather an overall trend or statistical average. > On Feb 2, 2015, at 7:38 AM, Chen, Yongcheng = wrote: >=20 > Hi everybody, > =20 > I=E2=80=99m testing now the apache load balancer. And I configured my = apache server for testing the example from apache document = (http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html): > =20 > worker > a > b > lbfactor > 70 > 30 > =20 > lbstatus > -30 > 30 > lbstatus > 40 > -40 > lbstatus > 10 > -10 > lbstatus > -20 > 20 > lbstatus > -50 > 50 > lbstatus > 20 > -20 > lbstatus > -10 > 10 > lbstatus > -40 > 40 > lbstatus > 30 > -30 > lbstatus > 0 > 0 > (repeat) > =20 > My configuration was: > > BalancerMember http://vh-srv01:8080 min=3D1 max=3D50 = loadfactor=3D70 route=3Dvh-srv01 > BalancerMember http://vh-srv02:8080 min=3D1 max=3D50 = loadfactor=3D30 route=3Dvh-srv02 > > =20 > And I used also the setting: =E2=80=9Clbmethod=3Dbyrequests=E2=80=9D > =20 > I expected such a schedule: =E2=80=9Ca b a a a b a a b a=E2=80=9D > However in the real test, I got =E2=80=9Ca a b a a b a a a b=E2=80=9D. > =20 > Can somebody explain what is the problem? > =20 > Best Regards --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org