## attempt to prevent order 5 page allocation failures due to veth operations ## see also http://blogs.linbit.com/p/28/kernel-min_free_kbytes/ # vm.min_free_kbytes = 242000 ## increase max files open (*32 times default of 7169445) fs.file-max = 229422240 ## formula from http://www.petersap.nl/SybaseWiki/index.php?title=Linux_configuration_settings_for_Sybase_ASE ## (disk i/o structures + max async i/os per engine) * max online engines ## (1048576 + 8192) * 32 engines = 33816576 fs.aio-max-nr = 67633152 ## tuning for huge connections workloads net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.ipv4.tcp_rmem = 4096 87380 16777216 net.ipv4.tcp_wmem = 4096 16384 16777216 net.core.somaxconn = 4096 net.core.netdev_max_backlog = 16384 net.ipv4.tcp_max_syn_backlog = 8192 net.ipv4.tcp_syncookies = 1 net.ipv4.ip_local_port_range = 1024 65535 net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_congestion_control = cubic #Disable ipv6 for now net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1