Skip to content

Instantly share code, notes, and snippets.

@vitaminmoo
Created January 18, 2012 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vitaminmoo/1636590 to your computer and use it in GitHub Desktop.
Save vitaminmoo/1636590 to your computer and use it in GitHub Desktop.
[root@dmz20 haproxy]# cat /etc/sysctl.conf
# Auto generated by Chef at Wed Jan 18 23:39:37 +0000 2012
# default, imported from main cookbook
net.ipv4.tcp_wmem = 4096 4096 16777216
# default, imported from main cookbook
net.unix.max_dgram_qlen = 65535
# default, imported from main cookbook
fs.file-max = 999999
# default, imported from main cookbook
net.core.wmem_max = 16777216
# default, imported from main cookbook
net.core.somaxconn = 3000
# default, imported from main cookbook
net.ipv4.tcp_rmem = 4096 4096 16777216
# default, imported from main cookbook
net.ipv4.tcp_keepalive_time = 600
# default, imported from main cookbook
net.core.netdev_max_backlog = 3000
# role file, set as required by keepalived
net.ipv4.ip_nonlocal_bind = 1
# default, imported from main cookbook
net.core.rmem_max = 16777216
# postgresql default attribute
kernel.shmmax = 21474836480
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment