From dev-return-55003-apmail-httpd-dev-archive=httpd.apache.org@httpd.apache.org Thu Oct 05 12:18:54 2006 Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 41531 invoked from network); 5 Oct 2006 12:18:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2006 12:18:53 -0000 Received: (qmail 42359 invoked by uid 500); 5 Oct 2006 12:18:46 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 42190 invoked by uid 500); 5 Oct 2006 12:18:46 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 42179 invoked by uid 99); 5 Oct 2006 12:18:46 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2006 05:18:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.133.199.10] ([209.133.199.10:49363] helo=jimsys.jagunet.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 8D/34-20288-EF7F4254 for ; Thu, 05 Oct 2006 05:18:07 -0700 Received: from [127.0.0.1] (localhost [127.0.0.1]) by jimsys.jagunet.com (Postfix) with ESMTP id D4E714BFD48 for ; Thu, 5 Oct 2006 08:17:33 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <1c5747850610050207g237151a1hde3cc9a3db7c94cd@mail.gmail.com> References: <1c5747850609290053w77508332xb8a01732e3463116@mail.gmail.com> <451D10FE.1020002@apache.org> <451D49C8.10101@sanguis.xs4all.nl> <451D5DFB.6080106@apache.org> <1c5747850610050207g237151a1hde3cc9a3db7c94cd@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <0CB452AB-C819-41D3-B5F5-7127718B01CD@jaguNET.com> Content-Transfer-Encoding: 7bit From: Jim Jagielski Subject: Re: mod_proxy and balancer problems Date: Thu, 5 Oct 2006 08:17:33 -0400 To: dev@httpd.apache.org X-Mailer: Apple Mail (2.752.2) X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Oct 5, 2006, at 5:07 AM, Mathias Herberts wrote: > > The first patch (ajp.patch) modifies the behaviour of mod_proxy, > introducing two config parameters. > > The first new parameter is 'forceclose' which can have values 'On' or > 'Off'. The default config for a worker is 'Off'. If this parameter is > set to 'On', connections to the backend will not be reused. This means > the behaviour will be similar to that of AJP 1.2 in mod_jk, once a > worker is chosen, the connection is established and the request sent. > Once the response is received, the connection to the worker is closed. > As one would expect, I like this :) > > As a matter of fact for this patch to function properly Tomcat (5.5.17 > at least) should be patched to allow the setting of a TCP backlog on > the AJP connectot. The default code in Tomcat uses 0 as the backlog > thus using the default OS value for the tcp backlog (which can be > quite high). > I don't like this external dependency and we should at the least document what happens with "un-patched" TC. Also, adding those struct elements to the middle of the struct is definitely NOT a good idea ;)