1 Star 2 Fork 0

Howard Liu / Onekey-Scripts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ss_sysctl 743 Bytes
一键复制 编辑 原始数据 按行查看 历史
Howard Liu 提交于 2017-02-06 19:19 . Edited ss-sysctl
fs.file-max = 51200
net.core.rmem_max = 67108864
net.core.wmem_max = 67108864
net.core.netdev_max_backlog = 250000
net.core.somaxconn = 4096
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 0
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1200
net.ipv4.ip_local_port_range = 10000 65000
net.ipv4.tcp_max_syn_backlog = 8192
net.ipv4.tcp_max_tw_buckets = 5000
net.ipv4.tcp_fastopen = 3
net.ipv4.tcp_rmem = 4096 87380 67108864
net.ipv4.tcp_wmem = 4096 65536 67108864
net.ipv4.tcp_mtu_probing = 1
# Remove hash from the following 2 lines if your linux kernel version >= 4.9.0 to enable BBR Congestion Control
# net.core.default_qdisc = fq
# net.ipv4.tcp_congestion_control = bbr
Shell
1
https://gitee.com/fsgmhoward/Onekey-Scripts.git
git@gitee.com:fsgmhoward/Onekey-Scripts.git
fsgmhoward
Onekey-Scripts
Onekey-Scripts
master

搜索帮助