Configure the number of workers for a server and an engine by adding server configurations.
If you experience performance issues, check the workers.log
file to check if all workers are busy. Before increasing worker count, verify that there is enough CPU to handle the additional workers. You can configure the number of workers both for the server and engine or separately. When the worker count for the server is full, the system will send the user an email notification.
To configure the number of workers for the server, do the following:
Select
→ → → .Add the following key and value:
Task
Value
workers.count.Tasks
Number of workers for the server.
Default: 4 workers per CPU core.
To configure the number of workers for the engine, do the following:
Go to
→ → .Select the engine checkbox for which you want to define the number of workers.
Click Edit Configuration.
In the JSON formatted configuration field, add the following engine configuration in JSON format:
Parameter
Value
workers.count.engines
Defines the number of workers for all engines across the system. This will override any other engine-worker configurations. Default is 4 workers per CPU core.
workers.per.cpu
Defines the number of workers per engine CPU. By default, each CPU has 4 workers, meaning that for an engine machine with 20 CPU, there will be 80 workers.