Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Server High CPU usage

luizduarte
Contributor
August 10, 2021

Recently we have been having CPU spikes that slow down our instance and eventually stop it.

It's only CPU usage it seems Disk usage seems normal.

What kind of info could I provide to track down the issue? And how to get it?

Version 8.5.1

2 answers

0 votes
Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 11, 2021

When you see the problem manifesting, go to Troubleshooting Support tools page and generate a support .zip. Make sure to include Thread dumps in it (I think disabled by default).

Opening a case with Atlassian support they should be able to analyze the logs/dumps and point you in the direction what's causing the high CPU usage. 

They will also probably ask you to run a thread dump on your server to pinpoint that a little better, but that's the second step.

If you cannot see anything out of the ordinary, such as maybe an import or re-index running, nothing suspicious in the logs, then contact the support - they have tools to do some quick analysis.

Basically the application logs and thread dumps are good to start with. Secondly you might want to check if your database server also has high cpu usage itself - which could narrow down the "nature" of the problem. For example we had a problem with one of the addons in the past causing CPU spikes and it turned out it had really terrible SQL command running almost constantly eating up the resources. This was apparent in the thread dumps that the plugin was consuming a lot of threads, and on the database that it was constantly calling humongous sql queries.

0 votes
edwin vasquez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 10, 2021

Hello Luis,

Is the jira application the one at the top of the list for CPU in task manager or other applications?

luizduarte
Contributor
August 11, 2021

Using a Linux installation how do I check that? But Zabbix tells me it's JIRA that's using it.

Suggest an answer

Log in or Sign up to answer