High CPU load

After enabling the GIT plugin and syncing two small repos, there's a massive CPU load on the MySQL process.

I did a reindex, restarted JIRA, restarted the server, doesn't seem to matter.

Strange thing is, this doesn't occur in a test server, which is an exact replica of our production server.

I waited a few hours, assuming the load might decrease over time, but it never does.

Any clue as to what the issue might be?


2 answers

0 votes

Hi Ruben,

The mysql server is running on the same machine? I would make sure mysql is configured with sufficient memory and the server OS still has plenty of RAM. 

You can run 'SHOW FULL PROCESSLIST;' in mysql client as admin/root, to get a list of the running queries. You may need to do this repeatedly, and see if there are any particular queries that are running for a long time or re-running frequently.

If that doesn't show you enough, you may need to enable to query log temporarily and analyse it for anything indicating frequent activity. 

mysql> SET GLOBAL general_log = 'ON';

When you are done capturing queries, switch it back to OFF.

The queries will be logged to your log location, for example /var/run/mysqld/mysqld.log.

Also try to run 'mysqlcheck -c jiradb  -u root -p' with jira shut down, to verify the entire jira database for any problems.

If all these are normal and the problem still occurs with the GIT plugin only, it may be indicative of other problems related specifically to the activity of the plugin.

Hi @Ruben Demey - 

I'm with BigBrassBand - the vendor supporting the Git Integration for Jira add-on. We'd be happy to take a closer look at the performance issue you're looking at.

Could you contact us at support@bigbrassband.com?



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

661 views 1 15
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you