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

Add sysctl config options #9

Open
s4ke opened this issue Mar 23, 2023 · 0 comments
Open

Add sysctl config options #9

s4ke opened this issue Mar 23, 2023 · 0 comments

Comments

@s4ke
Copy link
Member

s4ke commented Mar 23, 2023

some relevant settings from moby slack:

net.ipv4.igmp_max_memberships = 80
# Performance tunning
kernel.shmall = 4097152
kernel.shmmax = 8147483648
kernel.shmmni = 8096
kernel.sem = 250        32000   100     128
fs.file-max = 65536
net.core.rmem_default = 1048576
net.core.rmem_max = 8388608
net.core.wmem_default = 262144
net.core.wmem_max = 8388608
net.core.netdev_max_backlog = 2500
net.ipv4.tcp_mem = 1048576 2097152 4194304
net.ipv4.tcp_rmem = 8192 65536 16777216
net.ipv4.tcp_wmem = 8192 87380 16777216
net.ipv4.ip_local_port_range = 1024 65000
# https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#_set_vm_max_map_count_to_at_least_262144
vm.max_map_count=262144
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

1 participant