Skip to content

Instantly share code, notes, and snippets.

@tshabatyn
Created October 23, 2019 14:06
Show Gist options
  • Save tshabatyn/70d064ab33e51f1fc3a702d31f6befee to your computer and use it in GitHub Desktop.
Save tshabatyn/70d064ab33e51f1fc3a702d31f6befee to your computer and use it in GitHub Desktop.
Append or change the following settings in the `/etc/sysctl.conf` file
```
# /etc/sysctl.conf
vm.overcommit_memory = 1
net.core.somaxconn=65535
net.ipv4.tcp_keepalive_time = 10
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
```
Then please execute `/sbin/sysctl -p`. This command applies the changes, we made.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment