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

Andrei Bergners December 15, 2013

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 votes
Andrei Bergners January 6, 2014

Hi,

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

thanks

andrei

0 votes
jing_hwa_cheok
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 31, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events