How to resolve an error "Rendering this content exceeded the timeout of 120 seconds" for "Page Property Report" macro

Dear All,

We are using "Page Property Report" macro to show the report using Label in confluence page. Initially we have only 20 pages and the was working fine. Now we have 300 pages and the report is throwing an error "Rendering this content exceeded the timeout of 120 seconds" while trying to show the data from all pages in the current space containing a Page Properties macro with the same label. For temporary solution we can increase the timeout limit from 120 seconds to 600 seconds but in future we are planning to fetch the report from 3000 pages in the current space containing a Page Properties macro with the same label.

Please suggest how to solve this problem without impacting the performance.

Any help would be highly appriciated.

Thanks

Ashwini Pal

1 answer

You need to consider using the Cache Plugin for Confluence and specifically the Cache Macro. It will save processing resources and significantly improve response time. It also allows you to se a specific timeout. You should also look into How to automate cache refresh so that none of your end users will have to suffer the long delay once the cache has expired and a refresh is needed.

Even with these measures, scaling this 10 times or higher may not be a feasible approach unless the data can be many hours old to avoid the rendering having to be done too often.

Hello Bob, On reading the documentation for the Cache Plugin it still looks like the first person to access the content after the cache expires will see the same delay? Will that not cause the same timeout problem? Thanks.

And I would guess the "Future" macro was created to take care of this...

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

852 views 23 12
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