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

Cortex XSOAR Administrator Guide

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

Configure the PIDs limit by adding a server configuration in Cortex XSOAR.

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

  1. Select Settings → About → Troubleshooting → Add 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