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

Cortex XSOAR Administrator Guide

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

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

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

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