You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Billy Ng <kw...@earthlink.net> on 2003/06/04 23:47:31 UTC

Optimizeit and Jmeter

Hi folks,

I am using the Optimizeit to monitor the number of threads and Jmeter to hammer the servlets.  If I set the 100 threads, it will create 86 threads.  After I stopped Jmeter, I still see the threads are waiting.   I have some print lines in the doGet().  I am sure the threads has exited out the doGet() method already.  Does anyone know why it shows waiting in the Optimizeit?  Will the app run out of threads if there are too many threads waiting?

Billy Ng


Re: Optimizeit and Jmeter

Posted by Tim Funk <fu...@joedog.org>.
Threads are waiting because they are in a pool of workers waiting to execute 
the next incoming request. All of those threads are waiting/sleeping and 
taking no resources (excect for memory)

-Tim

Billy Ng wrote:
> Hi folks,
> 
> I am using the Optimizeit to monitor the number of threads and Jmeter to hammer the servlets.  If I set the 100 threads, it will create 86 threads.  After I stopped Jmeter, I still see the threads are waiting.   I have some print lines in the doGet().  I am sure the threads has exited out the doGet() method already.  Does anyone know why it shows waiting in the Optimizeit?  Will the app run out of threads if there are too many threads waiting?
> 
> Billy Ng
> 
> 


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