Workload Automation

 View Only

CA DE Tech Tip: jstack command used to generate a Thread Dump on DE server 

Apr 20, 2017 09:20 PM

If your DE Server is having performance problems, is hung, or fails to start support will request that you to collect 5-6 thread dumps
at intervals of approximately 20 seconds while you are having a problem.

If DE is up you can use the CLI utility "THREADDUMP" , if DE is not running you will need to use external tools like jstack
The jstack command is part of JDK and is not shipped with DE. You will need to download it from the internet and install the same version of JRE that WA DE uses.
For more informaton on the jstack command see
http://docs.oracle.com/javase/7/docs/technotes/tools/share/jstack.html

To collect threadump

 

On UNIX
$JDK_HOME\bin\jstack <DEServer PID> >> /tmp/DEthreaddumps.txt

 

On WINDOWS
<jdk>\bin\jstack <DEServer PID> >> threaddumps.txt

 

You can use the jvisualvm utility as well to collect thread dumps.

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.