How do I generate a thread/stack dump for a Traverse component for troubleshooting?
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
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.
from a command prompt on a Windows server
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
All Traverse versions
See also Heap dump collection on DGE/DGEX (Linux)