YANZ UPLOAD ANJG
# System default settings live in /usr/lib/sysctl.d/00-system.conf.
# To override those settings, enter new settings here, or in an /etc/sysctl.d/.conf file
#
# For more information, see sysctl.conf(5) and sysctl.d(5).
#
# afrihost
# Decrease TIME_WAIT seconds
net.ipv4.tcp_fin_timeout = 15
net.ipv4.tcp_keepalive_time = 240
net.ipv4.tcp_keepalive_intvl = 60
net.ipv4.tcp_keepalive_probes = 7
# [afrihost_arpnotify]
net.ipv4.conf.default.arp_notify = 1
net.ipv4.tcp_mtu_probing=1
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
# afrihost
net.core.somaxconn= 65535
fs.file-max = 165535
net.ipv4.tcp_window_scaling = 1
net.core.rmem_max = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 16384 16777216
# afrihost redis_performance tweaks
net.core.somaxconn= 65535
vm.overcommit_memory = 1
net.ipv4.tcp_window_scaling = 1
net.core.rmem_max = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 16384 16777216
kernel.sem=512 32000 200 512
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_max_syn_backlog = 4096
net.ipv4.tcp_synack_retries = 3
net.ipv4.conf.all.rp_filter = 5
net.ipv4.conf.lo.rp_filter = 5
net.ipv4.conf.eth0.rp_filter = 5
net.ipv4.conf.default.rp_filter = 5
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_max_syn_backlog = 4096
net.ipv4.tcp_synack_retries = 3
net.ipv4.conf.all.rp_filter = 5
net.ipv4.conf.lo.rp_filter = 5
net.ipv4.conf.eth0.rp_filter = 5
net.ipv4.conf.default.rp_filter = 5