tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronaldo" <>
Subject RES: Too many threads
Date Tue, 20 Aug 2002 12:30:38 GMT
Thanks for your atention Shapira, but I did search a lot in google for this
topics, but nobody seemed to have this kind of problem. I did read all
tomcat config docs, but the container seems to ignore my maxProcessors
parameter and starts lots of threads. I realy don't know what else to do.
I'm trying diferent connector at this time. I was using ajp 1.2, migrated to
1.3, and nothing, so I went to coyote and another deception, it stills
starts more threads than the parameter I set, it also happens to tomcats
examples, so the problem is not with my application otherwise it would not
happen to tomcats examples, I supose.
 Then again, thanks for your atention, hope you, or anobody else, can help
me with this, I'm running out of time,

 Ronaldo Florence

-----Mensagem original-----
De: Shapira, Yoav []
Enviada em: segunda-feira, 19 de agosto de 2002 09:58
Para: Tomcat Users List
Assunto: RE: Too many threads

The threading implementation of the JVM depends on the OS to some
extent.  Linux uses native threads as opposed to green or p threads, so
you see more processes at the OS-level.  You can google search for any
of the above terms and you'll find a ton of references.

For the tomcat configuration reference regarding acceptCount,
minProcessors, and maxProcessors, all of which affect the number of
threads used by tomcat, see:

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Ronaldo []
>Sent: Saturday, August 17, 2002 10:17 AM
>To: Tomcat Users List
>Subject: Too many threads
>  I'm developing a web aplication with jsp and servlets, and I'm beging
>use tomcat.
>  The only problem I'm having is, when I make a stress test on my
>(4.0.4 on RH Linux) the server create as many threads as the number of
>requests. Is this normal? shuldn't be some kind of inteligent thread
>Because, I get over 800 threads and my test machine isn't that much so
>crashs all the time, because tomcat is eating more than 200 M of
>Can anyone help me on this?
>Even not, thanks a lot,
>Ronaldo Florence
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>For additional commands, e-mail: <mailto:tomcat-user-

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

View raw message