Thread dumps in OBM

  • KM03765476
  • 30-Nov-2020
  • 21-Apr-2021

Summary

What is it?  A Java thread dump is a way of find out what every thread in the JVM is doing at a particular point in time. This is especially useful if your Java application sometimes seems to hang when running under load, as an analysis of the dump will show where the threads are stuck. Collecting thread dumps can be a good idea when you are getting problems with some specific procedures, like connections to the bus failures or database failures, collect the tread dumps at the moment when the issue is more relevant and also when the environment is stabilized, if it is possible.

Question

What is it?  A Java thread dump is a way of find out what every thread in the JVM is doing at a particular point in time. This is especially useful if your Java application sometimes seems to hang when running under load, as an analysis of the dump will show where the threads are stuck.

Collecting thread dumps can be a good idea when you are getting problems with some specific procedures, like connections to the bus failures or database failures, collect the tread dumps at the moment when the issue is more relevant and also when the environment is stabilized, if it is possible.

Answer

Linux: /opt/HP/BSM/opr/support/opr-support-utils.sh
Windows: %TOPAZ_HOME%>/opr/support/opr-support-utils.bat

Some examples:

opr-support-utils -gtd mercuryAS > mercuryAS.td
opr-support-utils -gtd wde> wde.td
opr-support-utils -gtd opr-scripting-host > opr-scripting-host.td
 
The resulting td-files can be examined using the trace GUI for fast troubleshooting!