JBoss EAP has many threads named like "pool-161-thread-20"

Solution Verified - Updated -

Issue

  • There are hundreds of threads all looking like this:
"pool-132-thread-6" prio=10 tid=0x00007f7630232800 nid=0x1276 waiting on condition [0x00007f76453a6000]  
   java.lang.Thread.State: WAITING (parking)  
    at sun.misc.Unsafe.park(Native Method)  
    - parking to wait for  <0x00000007afba0f90> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)  
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)  
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987)  
    at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)  
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)  
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)  
    at java.lang.Thread.run(Thread.java:662)
  • The names will vary: "pool-X-thread-Y", where X is a number going up all the time, and Y a number between 1 and 20.
  • CPU usage will reach 100% and only a restart helps.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.x
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content