Configure the Open File Descriptors Limit - Administrator Guide - 6.9 - Cortex XSOAR - Cortex - Security Operations

Cortex XSOAR Administrator Guide

Product
Cortex XSOAR
Version
6.9
Creation date
2022-09-29
Last date published
2024-12-04
End_of_Life
EoL
Category
Administrator Guide
Abstract

Configure the open file descriptors limit by adding a server configuration in Cortex XSOAR.

To configure the open file descriptors limit you need to set the python.pass.extra.keys advanced parameter.

  1. Select SettingsAboutTroubleshootingAdd Server Configuration.

  2. Type the following:

    Key

    Value

    python.pass.extra.keys

    --ulimit=nofile=1024:8192

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

    /reset_containers

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

    !py script="import resource;print('file descriptor limit: ', resource.getrlimit(resource.RLIMIT_NOFILE))"

    The command prints the file descriptor limit (soft and hard). For example:

    file-descriptors-limit.png