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,

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 ...

2,815 views 11 18
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