tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keeplearning <p_sodh...@yahoo.com>
Subject Object.Wait() in thread dumps...
Date Thu, 17 Sep 2009 17:29:12 GMT

I am running a test and after 500 users or so, I start to see performance
degradation. I have Apache as webserver and Tomcat to serve dynamic content.

I took the thread dumps and I see most threads are waiting on "Object.Wait"
as follows:

at java.lang.Object.wait(Native Method) 
at java.lang.Object.wait(Object.java:474) at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:661)
- locked [0x00002aaac91012b0] (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at
java.lang.Thread.run(Thread.java:595)


It looks to me they are waiting for threads. Currently thread limit on each
of 2 tomcat
servers is set to 250 each.

Also, I am looking at server.xml and I see multiple sections and not sure
where to
increase thread number. Should it be for both of the below sections?

 <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
  <!-- Define an AJP 1.3 Connector on port 8009 -->

Thanks

-- 
View this message in context: http://www.nabble.com/Object.Wait%28%29-in-thread-dumps...-tp25492105p25492105.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message