Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save darkmuggle/fa40602514b1d470458b2497496bf51f to your computer and use it in GitHub Desktop.
Save darkmuggle/fa40602514b1d470458b2497496bf51f to your computer and use it in GitHub Desktop.
# 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