rendered paste body#
# /etc/sysctl.conf - Configuration file for setting system variables
# See sysctl.conf (5) for information.
#
# sysctl -p /etc/sysctl.conf
#
#kernel.domainname = example.com
#net/ipv4/icmp_echo_ignore_broadcasts=1
kernel.panic = 10
# increase TCP max buffer size
#net.core.rmem_max = 16777216
#net.core.wmem_max = 16777216
net.core.rmem_default = 1048560
net.core.rmem_max = 2097136
net.core.wmem_default = 1048560
net.core.wmem_max = 2097136
# increase Linux autotuning TCP buffer limits
# min, default, and max number of bytes to use
#net.ipv4.tcp_rmem = 4096 87380 16777216
#net.ipv4.tcp_wmem = 4096 65536 16777216
net.core.optmem_max = 163840
net.ipv4.tcp_mem = 3129344 3137536 3145728
net.ipv4.tcp_rmem = 65536 1398080 2796160
net.ipv4.tcp_wmem = 65536 1398080 2796160
# don't cache ssthresh from previous connection
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_sack = 1
net.ipv4.tcp_timestamps = 1
# recommended to increase this for 1000 BT or higher
net.core.netdev_max_backlog = 2500