troubleshooting Question

How to analyze Java Thread Dumps ?

Avatar of crazywolf2010
crazywolf2010Flag for United Kingdom of Great Britain and Northern Ireland asked on
Java App Servers
4 Comments1 Solution1700 ViewsLast Modified:
Hi All,
This afternoon I have following messages in my SystemOut.log

[04/10/10 14:40:45:325 BST] 00000062 ThreadMonitor W   WSVR0606W: Thread "WebContainer : 13" (00000062) was previously reported to be hung but has completed.  It was active for approximately 1083068 milliseconds.  There is/are 100 thread(s) in total in the server that still may be hung.
[04/10/10 14:40:45:325 BST] 000000c9 ThreadMonitor W   WSVR0606W: Thread "WebContainer : 96" (000000c9) was previously reported to be hung but has completed.  It was active for approximately 1079788 milliseconds.  There is/are 99 thread(s) in total in the server that still may be hung.
[04/10/10 14:40:45:342 BST] 0000006e ThreadMonitor W   WSVR0606W: Thread "Default : 16" (0000006e) was previously reported to be hung but has completed.  It was active for approximately 1081169 milliseconds.  There is/are 98 thread(s) in total in the server that still may be hung.

I often see my servers freeze and use "Create ThreadDump" command :
wsadmin> $adminControl invoke $jvm dumpThreads

Thread dump is then be saved to <WAS_ROOT>/profiles/<PROFILE_NAME>/ directory with with respective naming convention

I can then use "IBM Support Assistant" -> ThreadAnalyzer to generate some nice pictures and this is where my problem starts.

Process  I use
http://dl.dropbox.com/u/12528336/Using%20Thread%20Analyzer.doc

How do I analyze these thread dumps /graphs to indicate problem areas?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros