Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 91974 invoked from network); 24 Sep 2007 17:38:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Sep 2007 17:38:06 -0000 Received: (qmail 5897 invoked by uid 500); 24 Sep 2007 17:37:45 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 5877 invoked by uid 500); 24 Sep 2007 17:37:45 -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 5866 invoked by uid 99); 24 Sep 2007 17:37:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 10:37:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [72.22.94.67] (HELO virtual.halosg.com) (72.22.94.67) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 17:39:56 +0000 Received: (qmail 5842 invoked from network); 24 Sep 2007 12:35:18 -0500 Received: from unknown (HELO ?10.21.65.76?) (208.17.34.25) by halosg.com with SMTP; 24 Sep 2007 12:35:18 -0500 Message-ID: <46F7F5BF.3020909@hanik.com> Date: Mon, 24 Sep 2007 11:37:03 -0600 From: Filip Hanik - Dev Lists User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat maxThreads References: <45869e090709240932g6e4482b2if1a36566284f26b@mail.gmail.com> In-Reply-To: <45869e090709240932g6e4482b2if1a36566284f26b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Threads in hundreds, or lower one thousand is ok, if you need more, question yourself :) ie, if you need more concurrency, simply turn of keep alives. Having too many threads will do the following 1. Eat up a good chunk of memory 2. Your system will spend too much time context switching Filip Mike Crawford wrote: > Hi, > > I'd like to know if there are any gotchas from increasing maxThreads well > beyond the standard 150. For instance, on a new Dell 1950 dual-core with > 4GB RAM, why not try 300 or even thousands of threads? I will be putting > Lighty or Apache in front of Tomcat, which is also a potential bottleneck. > > Thanks for your time, > > Mike Crawford > > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.13.30/1027 - Release Date: 9/24/2007 11:27 AM > --------------------------------------------------------------------- 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