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 vote

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?

Cheers,

Adam

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,335 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot