Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 4007 invoked from network); 17 Jan 2007 14:00:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jan 2007 14:00:49 -0000 Received: (qmail 15531 invoked by uid 500); 17 Jan 2007 14:00:43 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 15514 invoked by uid 500); 17 Jan 2007 14:00:43 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 15494 invoked by uid 99); 17 Jan 2007 14:00:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2007 06:00:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2007 06:00:33 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1H7BKm-00070R-JR for users@tomcat.apache.org; Wed, 17 Jan 2007 06:00:12 -0800 Message-ID: <8410578.post@talk.nabble.com> Date: Wed, 17 Jan 2007 06:00:12 -0800 (PST) From: JNeuhoff To: users@tomcat.apache.org Subject: Re: Apache mod_jk memory leak? In-Reply-To: <45ADFA20.3000500@kippdata.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: neuhoff@mhccorp.com References: <8398261.post@talk.nabble.com> <45ADDC28.9010206@kippdata.de> <8407489.post@talk.nabble.com> <45ADFA20.3000500@kippdata.de> X-Virus-Checked: Checked by ClamAV on apache.org > By default apache will use as max number of connections the same value, > as the max number of threads, so that each thread can get it's own > connection. By default it will shrink the connection pool down to half > of the max size. There is a min value you can configure if this doesn't > fit your needs. How do I set this min value? Is it the MinSpareThreads directive? > Yes, the Windows MPM has one observer process and a second one, that > handles all the requests. If you are really low on server ressources, > you can shrink you connection pool from 250 (equals number of threads > you configured) to 200 and set the minimum to something like 10. You > should also consider a connect_timeout (e.g. 15000) and a > prepost_timeout (e.g. 10000). Does mod_jk use 2 threads (2 socket connections) for each HTTPSession in Tomcat, as seemed to be indicated by the 'netstat -a' listing? Regards J.Neuhoff -- View this message in context: http://www.nabble.com/Apache-mod_jk-memory-leak--tf3023318.html#a8410578 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org