Configure the PIDs Limit - Administrator Guide - 6.10 - Cortex XSOAR - Cortex - Security Operations

Cortex XSOAR Administrator Guide

Product
Cortex XSOAR
Version
6.10
Creation date
2022-10-13
Last date published
2023-11-28
Category
Administrator Guide

Configure the PIDs limit by setting the python.pass.extra.keys advanced parameter.

  1. Select SettingsAboutTroubleshootingAdd Server Configuration.

  2. Type the following:

    Key

    Value

    python.pass.extra.keys

    --pids-limit=256

  3. Reset the running containers by running the following command:

    /reset_containers

  4. (Optional) To test the PIDs limit, run the following command in the playground:

    !py script="from multiprocessing import Pool; p=Pool(256); print('pool started')"

    When the limit is in place, the command fails with a Python OSError. For example:

    pids-error.png