Help needed with troubleshooting jira slowdowns

Hi there.

There are some issues in our JIRA that take huge time to load to screen. I have enabled profiling while loading  one of the issues and got some intriguing results. These are the most time-consuming operations I've found in the profiling logs:

2015-08-03 15:55:22,489 ajp-bio-8009-exec-1 DEBUG user******* 955x731x1 1vimaat 00.00.000.000 /browse/OK-6575 [atlassian.util.profiling.UtilTimerStack] [19859ms] - /browse/OK-6575
    [0ms] - PermissionManager.hasPermission()
    [19455ms] - IssueNavAction.execute()
    (...)
    [13297ms] - Lucene Query
    (...)
        [27ms] - Lucene Query //this part is actually repeated many times with slighty different durations
            [0ms] - IssueIndexManager.getIssueSearcher()
            [25ms] - Lucene Search
(...)
2015-08-03 15:55:22,507 ajp-bio-8009-exec-1 DEBUG user******* 955x731x1 1vimaat 00.00.000.000 /browse/OK-6575 [jira.web.filters.ThreadLocalQueryProfiler] RESULT GROUP: OfBizDelegator
2015-08-03 15:55:22,508 ajp-bio-8009-exec-1 DEBUG user******* 955x731x1 1vimaat 00.00.000.000 /browse/OK-6575 [jira.web.filters.ThreadLocalQueryProfiler]   3665:9893ms findByPrimaryKey [3,72,13,41,33,16,1,10,31,20,18,12,1,19,0,1,7,1,23,21,1,6,12,21,1,0,1,8,1,17,13,20,1,1,0,1,0,1,0,1,16,1,1,51,32,8,25,1,0,1,0,22,16,1,22,1,19,6,17,0,17,10,1,10,1,0,1,0,1,0,1,0,5,5,10,1,0,3,1,13,20,1,0,1,27,0,1,0,1,0,1,11,1,14,42,1,17,8,1,0,7,7,0,17,7,1,0,21,10,20,4,1,0,8,1,30,1,0,13,35,1,0,1,21,17,14,24,11,0,8,14,12,7,1,0,0,4,12,12,1,10,16,49,43,1,10,1,8,1,0,1,0,7,0,28,15,12,0,30,13,13,9,1,18,1,1,14,15,1,22,1,0,1,13,1,15,11,0,3,9,0,1,16,0,40,0,1,25,0,1,0,1,0,10,1,0,1,6,1,0,1,64,21,20,20,1,27,14,1,15,0,1,0,6,1,0,1,0,23,1,18,1,3,0,0,7,1,0,1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,1,0,1,0,0,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,1,0,0,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,1,0,1,0,1,0,1,0,1,0,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,1,0,0,0,1,0,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1]
2015-08-03 15:55:22,509 ajp-bio-8009-exec-1 DEBUG user******* 955x731x1 1vimaat 00.00.000.000 /browse/OK-6575 [jira.web.filters.ThreadLocalQueryProfiler] OfBizDelegator: 3665 keys (1 unique) took 9893ms/19917ms : 49.671135% 9893ms/query avg.
(...)
2015-08-03 15:55:22,554 ajp-bio-8009-exec-1 DEBUG user******* 955x731x1 1vimaat 00.00.000.000 /browse/OK-6575 [jira.web.filters.ThreadLocalQueryProfiler] RESULT GROUP: com.atlassian.jira.scheme.SchemeManager
2015-08-03 15:55:22,554 ajp-bio-8009-exec-1 DEBUG user******* 955x731x1 1vimaat 00.00.000.000 /browse/OK-6575 [jira.web.filters.ThreadLocalQueryProfiler]   64:0ms getEntities [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
2015-08-03 15:55:22,557 ajp-bio-8009-exec-1 DEBUG user******* 955x731x1 1vimaat 00.00.000.000 /browse/OK-6575 [jira.web.filters.ThreadLocalQueryProfiler]   7633:7ms getSchemes [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,1,0,1,0,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,1,1,1,0,0,1,0,0,1,1,0,0,1,1,0,1,0,0,0,0,0,1,1,0,1,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0]
2015-08-03 15:55:22,566 ajp-bio-8009-exec-1 DEBUG user******* 955x731x1 1vimaat 00.00.000.000 /browse/OK-6575 [jira.web.filters.ThreadLocalQueryProfiler] com.atlassian.jira.scheme.SchemeManager: 18985 keys (3 unique) took 4291ms/19917ms : 21.544409% 1430ms/query avg.

Anybody have any idea what operations are hidden behind the "OfBizDelegator - findByPrimaryKey" and "com.atlassian.jira.scheme.SchemeManager - hasSchemeAuthority" ? What might be the source of such big lags?

3 answers

1 accepted

After a hard day of troubleshooting it seems that we have found (at least partially) the source of the problem.

Lately we have started archiving old links on some issue types (because hundreds or thousands of links seem to be far too much for JIRA to handle). We are deleting original link and instead we are putting the link key and link relation to specially formated custom field (making it possible to recover the original links if necessary). However the field is rich-text formatted, so basically all the keys were reformatted by JIRA to links.

What we have learned today is the fact that such text-links still needed to check the permissions, so basically we have jumped out of the frying pan into the fire. We have inserted a space in the keys between project key and issue number. Now the keys are not reformatted as links, and overall issue load time dropped from 15-20 seconds to 5-6 seconds.

1 vote
Boris Berenberg Community Champion Aug 03, 2015

It is checking to see if the user has access to the permission scheme for the issue. Not sure what version of JIRA you are on but we improved performance with this in newer versions. Also, you can try and reduce the total number of permission schemes you have. 

Thanks for the hint. Jira 6.1.7 on board. 500 tier, ~120k issues, ~40 projects, 10 permission schemes.

Boris Berenberg Community Champion Aug 04, 2015

Happy I could help. That is a very interesting scenario you are presenting above. Any chance you could try upgrading to JIRA 6.4 in staging and see if you are still affected by the same issue? If so, it may be worth opening a performance bug for it.

I would really like :) but we are already out of upgrade capability. 6.2.4 would be the newest version we could use, but the pros form upgrading would be far too little compared to cons of costs and time that we would have to take to make it work. Besides the slowdowns may be caused by any of our 50+ plugins or any combination of them. One day I will turn them off one by one on the test-instance and check the reaction times, but not today, definitely not today. Ohhh, procrastinations :> Anyway, thanks for all the hints. It's faster now :)

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,337 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