Upgrading from 4.4.5 to 5.1, ViewCustomFields page takes 7 minutes to load

We are in the process of upgrading from 4.4.5 to 5.1 of Jira.

We have cut a copy of the production VM to perform a test upgrade. The upgrade went well, but the ViewCustomFields page takes about 7 minutes to display. In the 4.4.5 instance, it takes a couple of seconds.

We have 82 projects, 170 workflows, 750 custom fields, and 200k issues. We are running four cores and 9GB on the VM, with Jira allocated 5.5GB, using an external database.

The page eventually loads without any errors in the logs or on the page itself. Further actions on custom fields are quick, except where the result is a refresh of the list page.

Performance of the rest of the application is good - just the page related to showing the list of custom fields is very slow.

We use a number of 3rd party and self developed plugins. The slow load behaviour persists if we uninstall or disable all plugins.

We have tried deleting a few custom fields that use custom field types from the Behaviours plugin since this plugin breaks indexing if present, but this has not affected the slow load time.

The load on the VM and on the database is very low while the page loads, so it looks like some code is timing out... I don't know how to go about diagnosing the problem.

1 answer

Hi Adman,

It sounds like you will need to take some thread dumps whilst trying to access the page to tell what is causing the load times to hang for so long. You can see how to generate thread dumps from our documentation on the subject: https://confluence.atlassian.com/display/JIRA051/Generating+a+Thread+Dump

However, as you say that you're not sure how to go about diagnosing the problem, I suspect that you won't be able to analyse the thread dumps that you take so I would suggest that you generate the thread dumps and then open a ticket with Support so we can analyse them for you.

JIRA v5.1 should be giving you the fastest response times yet, but 750 custom fields is quite a lot so I think we should investigate this to ensure you aren't encountering a bug that only becomes visible after a certain amount of fields have been added or similar.

All the best,
John

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

59 views 0 5
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