How to look at threads using Process Monitor in Windows
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
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
- 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