• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Tomcat process threads count increase very significantly  RSS feed

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 .

Kedar Bhagwat

Saloon Keeper
Posts: 5481
Android Firefox Browser Mac OS X Safari Tomcat Server VI Editor
  • 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.
You save more money with a clothesline than dozens of light bulb purchases. Tiny ad:
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!