Last active
June 4, 2021 22:36
-
-
Save polonskiy/00a71bab32360ffcb79f to your computer and use it in GitHub Desktop.
sysctl tuning for docker & serf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# values from https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Welcome%20to%20High%20Performance%20Computing%20%28HPC%29%20Central/page/Linux%20System%20Tuning%20Recommendations | |
# install (root): curl -s https://gist.githubusercontent.com/polonskiy/00a71bab32360ffcb79f/raw/10-custom.conf > /etc/sysctl.d/10-custom.conf | |
# apply (root): sysctl -p /etc/sysctl.d/10-custom.conf | |
net.ipv4.neigh.default.gc_thresh1 = 30000 | |
net.ipv4.neigh.default.gc_thresh2 = 32000 | |
net.ipv4.neigh.default.gc_thresh3 = 32768 | |
net.ipv6.neigh.default.gc_thresh1 = 30000 | |
net.ipv6.neigh.default.gc_thresh2 = 32000 | |
net.ipv6.neigh.default.gc_thresh3 = 32768 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you so much for this! I wasted days with those problems coming seemingly out of nowhere.