Skip to content

Error: The minimum number of file descriptors required to run this process is 40000 #254

Closed as not planned
@flavienbwk

Description

@flavienbwk

Hi,

I am trying to run Zulip with Docker rootless on my server but I get the following error :

zulip_1      | Error: The minimum number of file descriptors required to run this process is 40000 as per the "minfds" command-line argument or config file setting. The current environment will only allow you to open 40000 file descriptors.  Either raise the number of usable file descriptors in your environment (see README.rst) or lower the minfds setting in the config file to allow the process to start.
zulip_1      | For help, use /usr/bin/supervisord -h

This happens when removing :

    ulimits:
      nofile:
        soft: 40000
        hard: 50000

from the docker-compose file, because I can't use it (getting the following error).

Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"process_linux.go:378: setting rlimits for ready process caused \\\"error setting rlimit type 7: operation not permitted\\\"\"": unknown
Error: failed to start containers

Why are ulimits needed and do you have an idea on how to solve this problem ?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions