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
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

25 views 0 2
Join discussion

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