tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From delbd <de...@oma.be>
Subject Re: No more than 500 threads on Windows 2003?
Date Fri, 01 Jul 2005 08:44:38 GMT
Maybe you could switch the jvm to green threads ?
Le Vendredi 1 Juillet 2005 09:57, Michael Kleinhenz a écrit :
> 
> 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 :
> > 
> >>Hi,
> >>
> >>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
> >>problem?? 
> >>
> >>Hardware is not an issue, I think.. (dual Xeon 3,4GHz, 4GB)..
> >>
> >>Thanks,
> >>Michael
> >>
> > 
> > 
> 
> 

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Is there life after /sbin/halt -p?

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message