×

You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.

Manual

How to change the number of available threads

Roman Serazhiev

Roman Serazhiev Last update: Jul 6, 2018

To avoid negative effects on the performance of your Confluence system, we limited the number of parallel threads used by Scroll Platform (Scroll Versions, Scroll Translations, and Scroll Acrolinx Connector) to four.

Those four threads are used by the following tasks:

If you want to increase or decrease the number of available threads, you have to change the value of the parameter.

Note

It is not recommended to change the number of available threads, as this might have negative effects on the performance of your Confluence system. Also keep in mind that the most asynchronous tasks started by the Scroll Platform need to collect a quite big amount of data and thus consume much heap space.

Setting the thread number higher than the total number of available cores on your server is never recommended.

Before you begin: To change the number of threads, Scroll Versions 2.8.4 or later must be installed.

To change the number of available threads:

  1. Configure the System Property as described here: Configuring System Properties
  2. Set the corresponding parameter to the wanted value:

    ParameterDefault ValueDetailsExample
    com.k15t.scroll.platform.asynctask.threads4If you set the System property to a positive numeric value, this will be used as maximum number of threads for asynchronous tasks executed by Scroll Platform, i.e. any long running tasks started by Scroll Versions, Scroll Translations and Scroll Acrolinx.
    (info) This does not influence the threads used by our Scroll Exporters or Scroll Viewport.
    com.k15t.scroll.platform.asynctask.threads=8

    Info

    If the System property is missing or does not represent a valid value, the default maximum of 4 is used.

  3. Restart your Confluence system.

The number of threads is set to the defined value.

To check your configuration, set the logging level of the class 'com.k15t.scroll.platform.services.task.impl.DefaultAsynchronousTaskManager'. to INFO and check the string 'com.k15t.scroll.platform.asynctask.threads' in the logs.

See Configuring Confluence Logging for further information.

2x3.12
We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.
Ok