Skip to content

Instantly share code, notes, and snippets.

@tobert
Created June 14, 2013 19:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobert/5784429 to your computer and use it in GitHub Desktop.
Save tobert/5784429 to your computer and use it in GitHub Desktop.
sysctl.conf from #cassandra13
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv4.ip_forward=0
net.ipv6.conf.all.forwarding=0
kernel.sysrq = 1
kernel.panic = 300
fs.file-max = 1048576
kernel.pid_max = 999999
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_rmem = 4096 65536 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
vm.max_map_count = 1048576
# only allow 2% of memory for dirty pages
vm.dirty_ratio = 10
vm.dirty_background_ratio = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment