How to generate external thread dumps for Confluence 5.9.2 running Windows with the bundled JRE
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Provide thread dumps to Atlassian support to troubleshoot performance issues or system crashes.
Solution
Download Java Development Kit (JDK) version 1.8_65 from the Oracle site: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Install it, making sure to choose the default folder
Download the attached batch file, "threaddumps.bat" threaddumps.bat
Run the batch file as an administrator:
For most Windows servers you will need to launch an elevated command prompt with this command, and run the batch file in the command window:
1
psexec -s cmd.exe
If psexec is not on your server, download the PsTools suite from https://download.sysinternals.com/files/PSTools.zip
Retrieve the thread dumps from C:\threaddumps folder and attach them to the ticket on https://support.atlassian.com
Was this helpful?