Limit the number of document conversion threads by default

XMLWordPrintable

    • 7

      Problem Definition

      Confluence uses document conversion service to convert Office file and PDF files for preview and thumbnail generation. Currently, this service has a queue of tasks to run through and the file conversion service spins up background threads to convert those documents. Unfortunately, if one document is taking a bit more time to convert, Confluence might spin too many concurrent threads which might add too much pressure on the CPU and memory.

      Suggested Solution

      The suggested solution is to limit the number of concurrent conversion threads by default.

      Workaround

      The current workaround is to add the following JVM argument to limit the number of conversion threads.

      -Dconfluence.document.conversion.threads=3
      

            Assignee:
            Unassigned
            Reporter:
            Rudy Slaiby
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: