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

  1. 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

  2. Install it, making sure to choose the default folder

  3. Download the attached batch file, "threaddumps.bat" threaddumps.bat

  4. Run the batch file as an administrator:

    1. 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
    2. If psexec is not on your server, download the PsTools suite from https://download.sysinternals.com/files/PSTools.zip

  5. Retrieve the thread dumps from C:\threaddumps folder and attach them to the ticket on https://support.atlassian.com

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.