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

ulimit -n is too low in arm docker #74

Open
HarrisChu opened this issue Jan 12, 2023 · 2 comments
Open

ulimit -n is too low in arm docker #74

HarrisChu opened this issue Jan 12, 2023 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@HarrisChu
Copy link
Contributor

docker run -it --rm centos:7 /bin/bash -c 'ulimit -n'

# arm
1024

# x86
1048576

we should change the ulimit conf in docker file

@Shinji-IkariG
Copy link
Contributor

I just realized that this is running the official Centos Docker image, so the ulimit defaults for different platforms are not determined by Nebula.
Since this problem will affect the performance of Nebula on the arm platform, I will further locate the cause of the difference and find a solution

@Shinji-IkariG
Copy link
Contributor

The difference comes from the difference in the configuration of the host machine. You can define the ulimit value in the container by modifying the systemd configuration of dockerd or modifying docker/dameon.json default-ulimit (https://docs.docker.com/engine/reference/commandline/ run/#set-ulimits-in-container---ulimit)

@QingZ11 QingZ11 added the question Further information is requested label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants