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.