• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat process threads count increase very significantly

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic