Configure the Open File Descriptors Limit

Configure the open file descriptors limit by adding a server configuration in Cortex XSOAR. Docker security. Docker hardening. Python.
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:

Recommended For You