-
1. Re: JBoss 5.1 Shutdown is slow
amathewjboss1 Aug 12, 2011 8:36 PM (in response to amathewjboss1)I did some more research on the thread dump and below are numerous thread states which i can see:
java.lang.Thread.State: RUNNABLE
java.lang.Thread.State: TIMED_WAITING (sleeping)
java.lang.Thread.State: WAITING (parking)
java.lang.Thread.State: TIMED_WAITING (parking)
java.lang.Thread.State: WAITING (on object monitor)
java.lang.Thread.State: TIMED_WAITING (on object monitor)Any thoughts on which one will be slowing down the JBoss Shutdown process?
As always thank you for all the help.
Anil Mathew
-
2. Re: JBoss 5.1 Shutdown is slow
peterj Aug 15, 2011 11:45 AM (in response to amathewjboss1)Look at the RUNNABLE threads first. If you are seeing a lot of CPU usage, take several thread dumps about 5 or so seconds apart. Then look at each runnable thread and figure out what they are doing.
If there is little of no CPU usage, then look at the waiting threads, specifically the ones with larger stack traces. Then find out what they are waiting on (such as a database response). That will give you a clue as to where to look.
-
3. Re: JBoss 5.1 Shutdown is slow
amathewjboss1 Aug 15, 2011 1:04 PM (in response to peterj)Thank You Peter for your thoughts.
As per your suggestion i will dig the thread dump. Will update the forum once i found the solution.
Thank You
Anil Mathew