Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 91400 invoked from network); 1 Mar 2004 15:09:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Mar 2004 15:09:19 -0000 Received: (qmail 77663 invoked by uid 500); 1 Mar 2004 15:08:59 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 77601 invoked by uid 500); 1 Mar 2004 15:08:59 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 77529 invoked from network); 1 Mar 2004 15:08:58 -0000 Received: from unknown (HELO kyle.globalnet.hr) (213.149.32.24) by daedalus.apache.org with SMTP; 1 Mar 2004 15:08:58 -0000 Received: from mail.globalnet.hr (cartman.globalnet.hr [213.149.32.10]) by kyle.globalnet.hr (8.12.3/8.12.3/Debian-6.6) with ESMTP id i21F8wgP022713 for ; Mon, 1 Mar 2004 16:08:59 +0100 Message-Id: <200403011508.i21F8wgP022713@kyle.globalnet.hr> Received: (qmail 19848 invoked from network); 1 Mar 2004 15:08:57 -0000 Received: from unknown (HELO MTURK) ([213.149.45.170]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 1 Mar 2004 15:08:57 -0000 Reply-To: From: "Mladen Turk" To: "'Tomcat Developers List'" Subject: RE: JK2 LB_FACTOR problem Date: Mon, 1 Mar 2004 16:08:55 +0100 Organization: Apache Software Foundation MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcP8ePQmE0Y5u9D9Qd6Z8uvQD25LWwDIqi5QAACBsdA= In-Reply-To: <24A8596C44DF4F4DA442CBE269C351BD012DB320@wbmail.guidestar.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Angus Mezick > Why the heck to the workers with a lb_factor of 1 get a > lb_value of 19[1-2]? What is lb_value? I am expecting for > ever 104 requests worker > 3 will get 100 of them and workers 2,4,5,6 will get 1 each. > Am I wrong? default lb_factor is 1, the value of 2 is two times higher, so using 100 i not appropriate. Use the numbers up to 10. It will give you 90%-10% workload in favor with the one with value of 10. The maximum meaningful factor is 25. 1. lb_value += lb_factor 2. the highest lb_value gets server; 3. if lb_value > 255 lb_value = 0; That's the algorithm. Is it perfect? Probably it could be better. MT. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org