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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,100 views 17 14
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