Confluence slowness - profiling shows SiteMesh and Rendering Velocity template are major time sinks

Hi,

Our site has been getting slower lately. In particular, there are a few pages which seem to be consistently slow (btw, most of the pages don't seem special in any way (ie., no plugins, small amount of content and single digit page revision history)).

Anyway, after enabling profiling for a few of the pages I noticed slowness in the following areas. Any thoughts on how to troubleshoot further?

[721ms] - XW Interceptor: Before defaultStack: /pages/viewpage.action (ViewPageAction.execute())

[642ms] - XW Interceptor: After defaultStack: /pages/viewpage.action (ViewPageAction.execute())

[3520ms] - SiteMesh: applyDecorator: main (/decorators/main.vmd)

[3313ms] - Rendering velocity template: /decorators/main.vmd

[144ms] - Rendering velocity template: templates/editor-header.vm

2 answers

0 vote

Hi Andrei Bergners,

Does this issue occur randomly in your Confluence? Do you exprience the slowness in pages in within similar a spaces? Have you done any customisation in your Confluence?

You can do the following to narrow down the possible cause.

  1. Navigate to Confluence Admin >> Plugins and Enable Safe Mode.
  2. Navigate to Confluence Admin >> Themes, and select the *Default Theme* as the current theme.
  3. Navigate to Confluence Admin >> Layoutsand reset all custom layouts to default (but make sure to make a backup of the custom layouts first!, by editing the layout, and copy pasting it to a text editor, to avoid losing your customizations)
  4. Navigate to Confluence Admin >> Custom HTML, and make sure that you do not have any Custom HTML added to Confluence. If there are, edit and save them into a text editor as a backup, and remove all of them.
  5. Navigate to Confluence Admin >> Stylesheet, save all custom CSS into a text editor and remove all of them.


Try to replicate the issue after performing each of the step above. This will help you narrow down the possible cause of the issue.

Regards,
Jing Hwa

Hi,

It seems that this slowness was related to enabling SSL functionality. Most likely the information above was a red herring.

thanks

andrei

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

385 views 21 10
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