| Author |
Tomcat and HPUX issue
|
Pankaj Tiwari
Ranch Hand
Joined: Sep 11, 2005
Posts: 55
|
|
HI All I and running tomcat on HPUX machine. The problem is that on HP machine the maximum thread per process allowed is 65 ( default), so i configured max thread count in server.xml to 60. I used JMeter to check the behavior when there is enough load on tomcat. What i have observed is that even though i configured its maxthread count not to exceed 60 it is reaching 65 and as soon as it goes beyond 65 tomcat throws OutOfMemoryError. After this the thread are killed ( probably by the OS) and then the thread count comes back to around 27 but tomcat does not process any new request any more. What i was expecting is that once the threads are killed and thread count comes back to 27 it should again start processing new request. One option is that to increase the max thread per process limit of HP to high value, but administrators are not very convinced with this idea Any pointers on this issue. Thanks and Regards Pankaj Tiwari
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Hmm. It sounds like your configurations are not taking. Just to get the obvious stuff out of the way, did you restart Tomcat after editing server.xml? If so, try using the Tomcat manager application to see what Tomcat is using for it's maxThreads setting. To do this go to http://localhost:8080/manager/html, login, and click the "Server Status" link in the upper right of the screen. Just after the list of deployed applications there is a section that shows memory and thread information.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: Tomcat and HPUX issue
|
|
|