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

Cortex XSOAR Administrator Guide

Product
Cortex XSOAR
Version
6.11
Creation date
2022-12-12
Last date published
2024-03-28
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 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