How to change the number of web service threads
The Fabasoft Folio web 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.
Set the Registry Key “HKEY_CURRENT_USER\Software\Fabasoft\Environment\FSCVEXT_MAXTHREADS” and the Value “(Default)” to the number of Kernel Threads.
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Fabasoft\Environment\FSCVEXT_MAXTHREADS] @="16"
After an IISRESET your changes will be applied.
You have to be logged in with the Fabasoft Folio web service account.
Change the line “Threads” in your /etc/fabasoft/web/mpm.conf to your preferred number of threads. and create the folder “/etc/fabasoft/settings/users/fscsrv/Software/Fabasoft/Environment/FSCVEXT_MAXTHREADS” with an file “registry.default” witch contains your number of threads.
1) vim /etc/fabasoft/web/mpm.conf
# # Server-Pool Size Regulation (MPM specific) # ## worker MPM # StartServers: initial number of server processes to start # MaxClients: maximum number of simultaneous client connections # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestsPerChild: maximum number of requests a server process serves StartServers 1 ServerLimit 1 MaxClients 8 MinSpareThreads 8 MaxSpareThreads 8 ThreadsPerChild 8 MaxRequestsPerChild 0 ## async MPM # Threads: number of worker threads (default: 8) Threads 16 ~ ~ ~
mkdir /etc/fabasoft/settings/users/fscsrv/Software/Fabasoft/Environment/FSCVEXT_MAXTHREADS echo -n "16" > /etc/fabasoft/settings/users/fscsrv/Software/Fabasoft/Environment/FSCVEXT_MAXTHREADS/registry.default chown fscsrv.fsc /etc/fabasoft/settings/users/fscsrv/Software/Fabasoft/Environment/FSCVEXT_MAXTHREADS -R
After restarting your Fabasoft Folio web service the changes will be applied.
You can check you configuration with the URL http:////fscasp/content/bin/fscvext.dll?h