Editing panels causes server downtime

Hi everyone :slightly_smiling_face:

Our wiki is up and running (yay!). We’ve noticed that performing some admin activities tends to slow the entire site down and sometimes take it briefly offline.

This tends to happen if we want to make changes to panels (under Page administration > Look & Feel). Sometimes it takes upwards of 10-20 seconds to open the Panels menu. Other times we get a 503 error message because the site has gone offline during the request. We’ve created about 30 custom navigation panels for various areas of the wiki, which means we have to make panel changes at the parent page level instead of through the Global Administration area.

Any reasons why this slowdown might be happening and/or suggestions for how to improve performance?

This could be quite likely due to the (deprecated) spaces panel that attempts listing all spaces. You can safely delete Panels.Spaces, this might fix this issue. We should stop distributing that panel as planned in XWIKI-13101.

Thanks! This definitely helped. Can we go ahead and delete Panels.SpaceDocs as well?

Yes, definitely, it’s just that I would expect much less impact from that one. Is the panel configuration still slow? If yes, what you could do is to go to the “Panels” space which contains a list of all panels. There, you can open them one by one and check if there is any panel that is particularly slow. Any panel of type view that you aren’t using should be safe to delete, but you can also ask again here in case you’re not sure.

Thanks Michael, will do!

Deleting the Panels.Spaces helped the page load time considerably. :slightly_smiling_face: