Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Ashwini Pal February 2, 2014

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

1 vote
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 2, 2014

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.

Brian Smith November 26, 2014

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.

Brian Smith November 27, 2014

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events