We maintain a legacy (jboss 4.2.3 , ejb 3 ,jsp, jdk 1.6.45 64b ) application.
This application make heavy usage of database, and respond to
Http connection pool is standard (tomcat 5.5 with 250 connections) , database pool connection is raised to 300 (instead of 60 standard).
The jboss service.xml (where default thread pool isdefined) is
<mbean code="org.jboss.util.threadpool.BasicThreadPool"name="jboss.system:service=ThreadPool">
<attribute name="Name">JBoss System Threads</attribute>
<attribute name="ThreadGroupName">System Threads</attribute>
<attribute name="KeepAliveTime">60000</attribute>
<attribute name="MaximumPoolSize">10</attribute>
<attribute name="MaximumQueueSize">1000</attribute>
<attribute name="BlockingMode">run</attribute>
</mbean>
One of our customer have some bad performance during part of the day.
There is a lot of threads generated without any relation with the users activities.
Normal activities threads count is 300/400 threads
Thread dump show that all this threads are RUNNABLE , but there is no stack trace (other "normal" thread show usual stack trace).
All those threads are nammed "Thread-xxxxxx" and belong to the "JBoss Pooled Threads"
We are sure that those threads are not created by the application, but we cannot find what could be responsible for this threads generation.
Any ideas ?
Can you post the sample thread dump?