Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 74987 invoked from network); 22 Nov 2003 05:48:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Nov 2003 05:48:47 -0000 Received: (qmail 3681 invoked by uid 500); 22 Nov 2003 05:48:20 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 3637 invoked by uid 500); 22 Nov 2003 05:48:20 -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 3624 invoked from network); 22 Nov 2003 05:48:19 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 22 Nov 2003 05:48:19 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ANQdC-0007T3-00 for ; Sat, 22 Nov 2003 06:48:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: tomcat-dev@jakarta.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ANQdB-0007Sv-00 for ; Sat, 22 Nov 2003 06:48:29 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ANQdB-0003SX-00 for ; Sat, 22 Nov 2003 06:48:29 +0100 From: "Bill Barker" Subject: Re: LB with mod_jk 2 Date: Fri, 21 Nov 2003 22:00:02 -0800 Lines: 27 Message-ID: References: <3FBE373B.1040207@tagish.com> <3FBE3D67.4090200@apache.org> X-Complaints-To: usenet@sea.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: news 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 "Remy Maucherat" wrote in message news:3FBE3D67.4090200@apache.org... > Hi, > > I got a support question about LB with mod_jk 2 (and I saw posts about > that on tomcat-user). > > Either there's something I don't understand, or the > jk2_get_most_suitable_worker method in jk_worker_lb will always return > the first worker which is not in an error state (assuming there was no > session), causing all requests to be redirected to the first declared > worker in a group. > > So did I miss something, or is the algorithm bad ? > My recollection is that the algorithm is bad. Of course, I'm currently of the opinion that mod_jk2 is hopelessly broken, so I don't spend much time there :). At best, it suffers from the same problems as mod_jk if you are using the pre-fork MPM, so it doesn't work at all. mod_jk2 will need to save this to the smem file in order to work with pre-fork. > Thanks, > R�my --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org