• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat process threads count increase very significantly  RSS feed

 
Kedarnath Bhagwat
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

This is regarding the issue where after the application is started tomcat process threads count starts increasing.
This increase of count is very high and affect the performance and server goes in outage mode.
There are other applications hosted as well on the tomcat.
If my application is not started the process count doesn't increase significantly.

The application logs don't indicate any changes that are needed at application level.

How can I troubleshoot this problem ? Does it need any configuration level changes or application level changes ?

Appreciate your inputs.

Let me know if any additional inputs you need .


Regards,
Kedar Bhagwat

 
Tim Moores
Saloon Keeper
Posts: 3900
91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could attach a tool like VisualVM to check what kinds of threads are hanging, and also to make thread dumps for offline analysis.

See https://tomcat.apache.org/tomcat-7.0-doc/monitoring.html#Enabling_JMX_Remote for how to set up Tomcat for this, and http://visualvm.java.net/threads.html for how to use VisualVM to analyze monitor threads.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!