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

Document created by rugst01 Employee on Apr 21, 2017Last modified by rugst01 Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

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.

Attachments

    Outcomes