Copied from https://jira.atlassian.com/browse/CONFSERVER-58998 :
When going to create support zip in troubleshooting and support tools admin page, create zip button takes a long time to show up, for EAC, it takes over 60s. Better implementation is needed to make it more performant.
* Data Center
Login as admin
Go to troubleshooting and support tools -> create support zip
create zip button is not showing, it takes over 60s to appear (in EAC)
Create zip button will show instantly.
create zip button did show instantly, it takes a long time for it to show.
The below exception is thrown in the atlassian-confluence.log file:
From thread dump we can see
com.atlassian.troubleshooting.confluence.ConfluenceApplicationInfo.getCustomDecorators execution takes about 50s. The code loops through default decorators and all spaces and read space decorator from database, which is not performant.
Currently there is no known workaround for this behaviour. A workaround will be added here when available