echo "
net.ipv4.tcp_window_scaling = 1
net.core.somaxconn = 8096
net.core.wmem_max = 16777216
net.core.rmem_max = 16777216
net.ipv4.tcp_fin_timeout = 60
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_mem = 8388608 12582912 16777216
net.ipv4.tcp_wmem = 253952 253952 16777216
net.ipv4.tcp_rmem = 253952 253952 16777216
net.ipv4.udp_mem = 8388608 12582912 16777216
net.core.rmem_default=253952
net.core.wmem_default=253952
">> /etc/sysctl.conf
ulimit -SHn 65535
increase network limit
sysctl net.core.somaxconn=1024
ifconfig eno1 txqueuelen 5000
sysctl net.core.netdev_max_backlog=2000
sysctl net.ipv4.tcp_max_syn_backlog=2048
ifconfig eno1 down && ifconfig eno1 up
sudo /etc/init.d/network restart