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 [mailto:[EMAIL PROTECTED]] Enviada em: segunda-feira, 19 de agosto de 2002 09:58 Para: Tomcat Users List Assunto: RE: Too many threads Hi, 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: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Ronaldo [mailto:[EMAIL PROTECTED]] >Sent: Saturday, August 17, 2002 10:17 AM >To: Tomcat Users List >Subject: Too many threads > >Hi, > I'm developing a web aplication with jsp and servlets, and I'm beging to >use tomcat. > The only problem I'm having is, when I make a stress test on my tomcat >(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 pool? >Because, I get over 800 threads and my test machine isn't that much so it >crashs all the time, because tomcat is eating more than 200 M of memory. >Can anyone help me on this? > >Even not, thanks a lot, > >Ronaldo Florence > > >-- >To unsubscribe, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>