tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Kleinhenz <>
Subject Re: No more than 500 threads on Windows 2003?
Date Fri, 01 Jul 2005 07:57:05 GMT

maybe. I can't confirm, because it fails so fast, I can't take a look in 
the manager app to see the exact number of threads when it begins hanging.

I experienced the problem with Tomcat 5.0.28+JDK1.4.2 and Tomcat 
5.5.9+JDK1.5.0 while my (somewhat slower) notebook can do 800+ threads 
with Debian and 5.0.28+1.4.2 without problems.

Seems to me like a Windows problem, but I can't find anything in the 
docs nor via Google.. ;-(

Windows sucks..

-- Michael

delbd schrieb:
> Just by curiosity, does it have something like '511 Threads is ok but 512 fails?' :D
> Le Jeudi 30 Juin 2005 15:09, Michael Kleinhenz a écrit :
>>I'm currently integrating a SOAP-based middleware on Tomcat (5.5.9) with
>>Sun JDK 1.5.0_02 and get into problems when using maxThreads with a
>>value greater than 500.
>>Tomcat locks up completely without getting back to normal operations
>>after a while. No exception or error is reported in the logs, it just
>>stops. All connections are refused after the lockup. Tomcat has enough
>>memory (>1GB) assigned with the JVM options.
>>If I use maxThreads="500", the server runs fine, but 500 is not enough
>>for my project ;-(
>>I tried to increase the stack size, but this doesn't help..
>>The connector is defined as:
>><Connector port="8888" maxHttpHeaderSize="8192" maxThreads="500"
>>   minSpareThreads="50" maxSpareThreads="150" enableLookups="false"
>>   redirectPort="8443" acceptCount="200" connectionTimeout="20000"
>>   disableUploadTimeout="true"/>
>>If I change 500 to 700 or more, Tomcat locks up. Is this a Windows
>>Hardware is not an issue, I think.. (dual Xeon 3,4GHz, 4GB)..

Dipl.-Technoinform Michael Kleinhenz
tarent GmbH . Bahnhofstraße 13 . 53123 Bonn
fon: +49 (228) / 52 67 5-0
fax: +49 (228) / 52 67 5-25

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message