maxthread-ajp error and the services are down
Issue
- An application hosted on JBOSS platform and our application is not responding and found the maxthread alarm.
- Captured three thread dumps over a two minute period, and found many threads blocked in states like this:
"ajp-10.10.10.10-18009-500" daemon prio=3 tid=0x0bbc3400 nid=0x129c waiting for monitor entry [0x46bde000]
java.lang.Thread.State: BLOCKED (on object monitor)
at org.apache.log4j.Category.callAppenders(Category.java:204)
- waiting to lock <0x78159e70> (a org.apache.log4j.Logger)
at org.apache.log4j.Category.forcedLog(Category.java:391)
at org.apache.log4j.Category.log(Category.java:856)
at net.example.logging.Log4jLoggerImpl.info(Log4jLoggerImpl.java:139)
at com.example.shared.security.MyRequestHandler.handleRequest(MyRequestHandler.java:77)
Environment
- JBoss Enterprise Application Platform (EAP)
- 4.3.0_CP08
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
