Skip to content

Instantly share code, notes, and snippets.

@danish-rehman
Created January 9, 2015 08:15
Show Gist options
  • Save danish-rehman/fe39ac3651ac1572f69c to your computer and use it in GitHub Desktop.
Save danish-rehman/fe39ac3651ac1572f69c to your computer and use it in GitHub Desktop.
Change TCP window size from socket
# SO_SNDBUF
# Cannot exceed maximum size available in kernel config
# Kernel config: /proc/sys/net/core/rmem_max
212992
# SO_RCVBUF
# Cannot exceed maximum size available in kernel config
# kernel config: /proc/sys/net/core/wmem_max
212992
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment