tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Tomcat maxThreads
Date Mon, 24 Sep 2007 17:37:03 GMT
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


Mime
View raw message