vi /etc/sysctl.conf

net.ipv4.ip_forward = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
vm.overcommit_memory = 1


sysctl -p

ulimit -n 65536
ulimit -Sn 65536

vi /etc/security/limits.conf
hard nofile 1020000
soft nofile 1020000
最后修改:2022 年 02 月 28 日 02 : 04 PM
如果觉得我的文章对你有用,请随意赞赏