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


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 votes

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.

Jing Hwa


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



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

241 views 2 10
Read article

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