How to generate external thread dumps for Confluence 5.9.2 running Windows with the bundled JRE
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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
Purpose
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:
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