Skip to content

Instantly share code, notes, and snippets.

@alexcmd
Created December 17, 2019 19:55
Show Gist options
  • Save alexcmd/abe5ddf7026d6c5d768809f0c234d7f8 to your computer and use it in GitHub Desktop.
Save alexcmd/abe5ddf7026d6c5d768809f0c234d7f8 to your computer and use it in GitHub Desktop.
sysctl -w fs.file-max=11000000
sysctl -w fs.nr_open=11000000
ulimit -n 11000000
sysctl -w net.ipv4.ip_local_port_range="1025 65535"
sysctl -w net.ipv4.tcp_mem="100000000 100000000 100000000"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment