Jira 5.26 instance very slow


Hoping the wise ones here can help me. I am getting ready to lauch a new version of jira, and it is is acting very slow -- and there aren't even any users accessing the system yet.

Certain http requests are taking much longer than expected:

 /s/en_USf3k8mw$$$$/_/download/superbatch/js/batch.js GET  -- 9146ms


/s/en_USf3k8mw$$$$d3d49dd56d55c007565c6e774254b4c/_/download/contextbatch/js/gh-rapid-config,greenhopper-rapid-non-gadget,atl.general/batch.js GET -- 8967ms


/plugins/servlet/streams ajax GET -- 6312ms


/s/en_USknp5do$$$$.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css GET -- 6286ms


/s/en_USf3k8mw$$$$eab585c7f973e84bcf76796bf7c93e/_/download/contextbatch/js/gh-rapid/batch.js GET --4678ms


/s/en_USknp5do$$$$/_/download/superbatch/css/batch.css GET -- 3458ms


/issues/ GET -- 3281ms


/secure/admin/WebSudoAuthenticate.jspa POST -- 2473ms

various stats:

operating system: rhel 6.1 VMware image

-XX:MaxPermSize=512m -Xms8192m -Xmx20480m

database -- mysql -- operating on separate vmware host

authenticating via crowd 2.6 -- on separate vm host in a DMZ

using apache 2.2 mod_proxy

180k issues

300+/- custom fields

1900 users...

116 projects...

Tomcat and db have no real load. Just experiencing general slowness.

Any tips much appreciated. I know VMs are generally not a great idea with Jira, but I am dealt the cards I am dealt. ;)

3 answers

1 accepted

0 votes
Accepted answer

Turns out several things were going on:

1. VM settings wrong. We accidentally had memory resource limits in place, which was causing ballooning.

2. our jvm was too big (as Matthia mentioned -- however, our prod environment ended up doing well with 12GB, and not 20GB.

3. STP plugin was causing errors, and hogging resources. We ended up disabling it, saw much improvement.

Try to make a reindex. This will make your system faster! Otherwise is your xmx and xms parameter to big. This means that the garbage collcor in your JVM has a lot to do. This will slow down your system. Please use xmx and xms parameter with 1024m.

VMs have no problem running JIRA. VMware being full virtualization though does have penalties.

What version of MySQL are you running?

How many CPUs are assigned to the VM? This may be important.

In your examples, slowness has been coming from JS and CSS. Have you enabled compression and caching? This would definitely help.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,941 views 19 22
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