Created
May 2, 2016 19:29
-
-
Save darkmuggle/fa40602514b1d470458b2497496bf51f to your computer and use it in GitHub Desktop.
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
# These are DigitalOCean recommended settings. You can unapply them | |
# by removing this file and rebooting, or by using different values | |
# in a higher-numbered file (i.e. /etc/systctl.d/99-custom.conf) | |
# Set the network write/read buffers | |
net.core.wmem_max= 12582912 | |
net.core.rmem_max= 12582912 | |
net.ipv4.tcp_rmem= 10240 87380 12582912 | |
net.ipv4.tcp_wmem= 10240 87380 12582912 | |
# This configures the server to use the canonical IPV6 address instead of | |
# using the privacy extensions. Servers generally are expected to use | |
# the canonical address. | |
net.ipv6.conf.all.use_tempaddr = 0 | |
net.ipv6.conf.default.use_tempaddr = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment