How to change the number of backend service threads
How to change the number of backend service threads
The Fabasoft Folio backend service handles incoming requests in a thread pool. This article describes how to change the number of threads in the thread pool in case of a necessity.
Note:
When you customize your Fabasoft Folio COO-Service threads be aware that your database allows at least the same number of connections. (n of threads * n of COO-Services ; example: 16 threads * 4 Services = 64 connections)
Windows:
Edit following path in your Registry: HKLM\SOFTWARE\Fabasoft\Fabasoft Components Server\Domain 10.7780\Service New String Value = “WorkerThreads” Value of WorkerThreads = n of WorkerThreads
Example:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Fabasoft\Fabasoft Components Server\Domain 10.7780\Service 1] "WorkerThreads"="16"
Linux:
change the value at /etc/fabasoft/settings/machine/SOFTWARE/Fabasoft/Fabasoft\ Components\ Server/Domain\ 1.3145/Service\ /WorkerThreads
Example:
echo -n "16" > /etc/fabasoft/settings/machine/SOFTWARE/Fabasoft/Fabasoft\ Components\ Server/Domain\ 1.3145/Service\ 1/WorkerThreads
Note:
You must edit the WorkerThreads for each service separately. After restarting the Fabasoft Folio COO- or MMC-Service your changes will be applied.