Troubleshooting: Generate a thread/stack dump for a Traverse component

QUESTION

How do I generate a thread/stack dump for a Traverse component for troubleshooting?


RESOLUTION

 To generate a thread dump of the Data Gathering Engine (DGE) from a shell prompt on a Linux server, where TRAVERSE_HOME is the installation directory:

1. Determine the version of the Traverse jar file

Replace traverse-9.3.jar. in the below example if necessary. Determine the version of the Traverse jar file under TRAVERSE_HOME. 

2. Generate the thread/stack dump

Linux

cd TRAVERSE_HOME
apps/jre/bin/java -classpath webapp/WEB-INF/lib/traverse-9.3.jar com.zyrion.traverse.utils.FullThreadDump localhost:7692 > /tmp/7692_thread.dump

/tmp/7692_thread.dump is the thread/stack dump that should be uploaded in the ticket created with Support. Do not upload it here.

Windows
from a command prompt on a Windows server

cd TRAVERSE_HOME
apps\jre\bin\java -classpath webapp\WEB-INF\lib\traverse-9.3.jar com.zyrion.traverse.utils.FullThreadDump localhost:7692 > 7692_thread.dump

To collect thread dumps for the other Java based Traverse components, substitute the appropriate TCP port number in the commands (the :port number and the file name) above from this list:

Web Application - 7691
Data Gathering Engine - 7692
Message Handler - 7693
Correlation and Summary Engine - 7696

 

APPLIES TO

All Traverse versions


REFERENCE

See also Heap dump collection on DGE/DGEX (Linux)

Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section