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.
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:
- Configure the System Property as described here: Configuring System Properties
Set the corresponding parameter to the wanted value:
Parameter Default Value Details Example com.k15t.scroll.platform.asynctask.threads 4 If 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.
This does not influence the threads used by our Scroll Exporters or Scroll Viewport.
If the System property is missing or does not represent a valid value, the default maximum of 4 is used.
- 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.