Very slow page saving

Hello there,

here's the problem.

We have a page that is updated every day. This page contains macros:

  • few Sections with Columns macros
  • Color macros
  • Link page macros
  • Expand macros
  • Excerpt include macros

There are 7 excerpt include macros. When one of them is changed to point to another page and I click on the save button, the page saving takes up to 30! minutes. Even whole Confluence is inaccessible for few minutes (sometimes).

This also occures when "bigger change" is applied on page - adding few new lines, adding new macro.

However, when "small change" is applied - adding empty lines, removing empty lines - the page is saved in normal time - immediately.

Some additional info:

  • Page history has approximately 900 items (Maybe this is issue?)
  • Page has 15 attachement - not more than 5MB in total
  • Reindexing did not help (even reindexing from scratch)
  • Occures in Confluence version 5.4.3 (Occured even before upgrade in version 4.3.5)

Do you have any ideas or suggestions what might be wrong?

Thanks!

Samuel

2 answers

1 accepted

0 votes
Accepted answer

It was probably caused by unlucky combination of macros "Section", "Column" and "Excerpt Include". I have modified and reorganized page structure, removed unnecessary macros and now the page is saving normally.

I don't have an answer for 30min delays, but for those who have 2-3 minutes response times, I usually advise to check:

  • How many page watchers do you have?
  • How many people watch the space?

Transforming the XML of the page to HTML takes a bit of time. One email is compiled for each watcher, and in total it's quite a lot of work (bug CONF-21846).

For 30 minutes, though, it has to be something more than watchers. As a side note, emails are put in a mail queue so the speed of your SMTP server doesn't impact your performance.

Hi Adrien,

I have checked watchers, there are 3 page watchers and none space watchers. So I think this is not the case. However, I will remove those three watchers and see if it helps somehow.

Do you think, that RSS feeds from this space can cause this problem?

Thanks.

I don't think RSS feeds could be a problem since I think they're built when you request them, not when you save the page.

I cannot advise further as this is clearly not my area. Just in case I would look whether there are pending queries at the database level during those 30 minutes, otherwise let's wait and see if some other people can provide more suggestions ;)

Turn on profiler (https://confluence.atlassian.com/x/GxED) and see what shows up in the profiling trace.

And vote for CONF-21846 (which is about watchers slowing down page saves) :-)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

98 views 3 4
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