Appian Technical Support might ask you to provide them with Java thread dump to troubleshoot performance issues. There are different ways of generating this file. This article will describes the most common way of generating a thread dump.
In Linux, run top, press the c key, then press Shift+H. This will show the threads sorted by highest to lowest CPU usage. Please provide a screenshot of the output.
In Windows, use Process Explorer or Process Monitor to show the threads for the Java process and take a screenshot of the top threads by CPU.
Typically, collecting this information is only necessary when you are actively experiencing slowness/performance issues.
jstack JAVA_PROCESS_ID > "<APPIAN_HOME>/logs/threaddump_<#>.txt"
jstack -F JAVA_PROCESS_ID > "<APPIAN_HOME>/logs/threaddump_<#>.txt"
This article applies to all versions of Appian.
Last Reviewed: March 2017
© 2019 Appian. All rights reserved.