Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 84453 invoked from network); 29 Aug 2005 23:18:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2005 23:18:26 -0000 Received: (qmail 25856 invoked by uid 500); 29 Aug 2005 23:18:11 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 25799 invoked by uid 500); 29 Aug 2005 23:18:11 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 25754 invoked by uid 99); 29 Aug 2005 23:18:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2005 16:18:11 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [195.227.118.3] (HELO mailserver.kippdata.de) (195.227.118.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2005 16:18:26 -0700 Received: from mailserver.kippdata.de (localhost [127.0.0.1]) by mailserver.kippdata.de (8.12.10/8.12.10) with ESMTP id j7TNI6gP008679 for ; Tue, 30 Aug 2005 01:18:06 +0200 (MEST) Received: from 80.136.126.55 (SquirrelMail authenticated user jung) by mailserver.kippdata.de with HTTP; Tue, 30 Aug 2005 01:18:06 +0200 (MEST) Message-ID: <2970.80.136.126.55.1125357486.squirrel@mailserver.kippdata.de> In-Reply-To: <004601c5acb3$27709420$25f3a8c0@doppelherz> References: <004601c5acb3$27709420$25f3a8c0@doppelherz> Date: Tue, 30 Aug 2005 01:18:06 +0200 (MEST) Subject: Re: workers.properties directives From: "Rainer Jung" To: "Tomcat Users List" Reply-To: rainer.jung@kippdata.de User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N mod_jk 1.2.14: List of workers, attributes and defaults. ajp14 is not included. global: - worker.maintain (60) [and some obvious others] all workers: - type (ajp13) ajp12: - host (localhost) - port (8007) ajp13: - host (localhost) - port (8009) - connection_pool_size (1) [aka "cachesize" which is the old and deprecated name] - cache_timeout (0) - socket_timeout (-1 = disabled) - socket_buffer (8192) - socket_keepalive (false) - recycle_timeout (0) - connect_timeout (0) - reply_timeout (0) - prepost_timeout (0) - recovery_options (0) - retries (3) lb: - balanced_workers / balance_workers - sticky_session (1) - sticky_session_force (0) - method (0=BYREQUESTS) - lock (O=OPTIMISTIC) - recover_time (60, also mimimum 60) per balanced worker: - lbfactor (1) - domain (NULL) - redirect (NULL) - disabled (0) - stopped (0) I hope this helps. Viel Spa� w�nscht Rainer Jung -- kippdata informationstechnologie GmbH Bornheimer Str. 33a D-53115 Bonn > Hi all, > > recently I stumbled over the mod_jk statusworker feature coming with > recent mod_jk versions and, of course, I immediately wanted to have > such neat thing :-) > > Up to that time, I didn't saw an imperative need to have balanced wor- > kers (Apache+Tomcat on the same machine; one single ajp13 type > worker did his job fine for me so far). > > Since it turned out that the status worker will talk to lb type workers > only, I simply renamed my existing ajp13 worker, then established > another lb type worker of the former name which itself "sits" now on > that ajp13 type (or "node") worker. > > But here I'm asking myself: Where do I preferably apply those "more > sophisticated" settings like > > worker.XY.recycle_timeout, worker.XY.cachesize or > worker.XY.cache_timeout ?? > > (seems that we can assign them both to lb type as to ajp13 type workers; > at least I didn't found anything that rules out doing so in the online > docs) > > In other words, do they a better job when defined with worker "MyWorker" > or with "node1" in the following httpd.conf example (simplified view; > think yourself a "JkWorkerProperty" in front of all these "worker..." > directives): > > worker.list=MyWorker > worker.MyWorker.type=lb > worker.MyWorker.balance_workers=node1 > worker.node1.type=ajp13 > worker.node1.host=localhost > worker.node1.port=8009 > > > JkMount MyWorker > > > ?? > > Some of that worker.XY... options sound more "IP related", so I would > tend to assign them to ajp13 type workers; > on the other hand, worker.XY.cachesize seems to have more impact to > the endpoint software layer, which implies that it unfolds it's effect > better within the load balancer tier. > > TIA > > Regards > > Olaf Lautenschlaeger > -- > ANOVA Multimedia Studios GmbH > Joachim-Jungius-Strasse 9 > D-18059 Rostock / Germany > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org