• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat and HPUX issue

 
Pankaj Tiwari
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic