Why does the http/ajp thread pool not reclaim / recycle idle threads in JBoss Web?

Solution Verified - Updated -

Issue

  • We have observed that our http/ajp threads are not reaped after being idle for several hours
  • The currentThreadCount in the HTTP/AJP JBossWeb connector only increases and never decreases
  • We notice that the number of 8009 threads go up as the need arises inside JBoss. However, as the load goes down, these threads are never recycled down to the maxSpareThreads value
  • Waiting AJP/HTTP worker threads
  • We are not seeing the connector worker threads decrease

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4
    • 5
    • 6

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