Exporting PDF's how can I minimized load on Confluence server


When mutliple users export spaces to PDF. It cause high load on our Confluence server. Example we have a 4 core CPU server, if I one user exports a PDF use 25% of our CPU/s. So we get 4 users roughly exporting a Space to PDF rougly at the same time it can use up all our cpu resources. I wondering if anybody have any solution to minizied this issue.

My plan is too disable the PDF Export Plugin. Somehow schedule PDF export to be enable after hours and use the conflunence cli to export the PDF for the client after hours.

Wondering if has been able to make a plugin to be turn on or off by a scheduler or have other another suggestion.




2 answers

1 accepted

Hello Jaime, you can disable the component during the day, and trigger the exports remotely using Confluence Command Line Interface exportSpace with --exportType PDF and a job scheduler.

As for re-enabling the component I believe that is not possible with the current API, you may need to perform that part of the task manually.

0 votes

Hi Jaime,

This is a known performance problem for PDF and XML export for entire spaces or instances, which is tracked in this bug unfortunately not fixed yet:


As you can see here, the XML and PDF export demands much memory from the application and processing power.

The only workaround that I know for this is to allocate more memory to the application, however even though, this might not be sufficient and may still be a performance problem.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

462 views 3 18
Read article

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