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

This widget could not be displayed.

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

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

494 views 7 6
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