Configure the Number of Workers for the Server and Engine - Administrator Guide - 6.8 - Cortex XSOAR - Cortex - Security Operations

Cortex XSOAR Administrator Guide

Product
Cortex XSOAR
Version
6.8
Creation date
2022-09-28
Last date published
2024-03-21
End_of_Life
EoL
Category
Administrator Guide
Abstract

Configure the number of workers for a server and an engine by adding server configurations. Cortex XSOAR

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.

  1. To configure the number of workers for the server, do the following:

    1. Select SettingsAboutTroubleshootingAdd Server Configuration.

    2. Add the following key and value:

      Task

      Value

      workers.count.Tasks

      Number of workers for the server.

      Default: 4 workers per CPU core.

  2. To configure the number of workers for the engine, do the following:

    1. Go to SettingsIntegrationsEngines.

    2. Select the engine checkbox for which you want to define the number of workers.

    3. Click Edit Configuration.

    4. 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.