How to look at threads using Process Monitor in Windows
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
The purpose of this guide is to provide a basic understanding of using the Windows Process Monitor tool troubleshoot performance issues and look at the active threads real time.
You can download the Process Monitor tool at https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx
Solution
Open Process Monitor
Click on the PID column to sort by PID
Find the PID from one of the methods below based on your configuration:
Solution if you are running Confluence as a service
Open your Windows Start Menu and search for Run. Click on it to open your Run window
Type services.msc to open the Windows Services menu
Find your Confluence Service (E.g. Atlassian Confluence.XXXXXX)
Double-Click the service to open the properties
Copy the Service Name
Go back to your Run command window and type: sc queryex Atlassian Confluence.XXXXXX making sure to put the real service name
Copy the PID in the results
Solution if you are not running Confluence as a service
Open up your Windows Task Manager
In the Applications tab, right-click the Tomcat process
Select Go To Process
Click on the View menu and select 'Select Columns”
Select PID (process identifier)
Note the PID next to the java.exe process. Note that you may have multiple java.exe if you are running more than one java-based application on the same machine.
Right click the Confluence process and select the properties
Select the Threads Tab
Was this helpful?