Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot raise open file limit to 65552 #60

Closed
ElijahReva opened this issue Jun 2, 2018 · 1 comment
Closed

Cannot raise open file limit to 65552 #60

ElijahReva opened this issue Jun 2, 2018 · 1 comment

Comments

@ElijahReva
Copy link

Hello!

I run into issues with MTProxy running on Docker on CentOS cloud VM. When I'm trying to start docker container, it goes into the endless loop of restarts. Docker logs show next error.

failed to set rlimit for open files. Try running as root or requesting smaller maxconns value.
fatal: cannot raise open file limit to 65552

What is the right way to set MAX_CONNECTIONS value when running Docker container?

My setup:

Virtualization: kvm
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-862.2.3.el7.x86_64
Architecture: x86-64
Docker version 18.03.1-ce, build 9ee9f40
@stek29
Copy link
Collaborator

stek29 commented Jun 2, 2018

Use --connections / -c command line argument to override default MAX_CONNECTIONS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants