linux 内核系统优化,Linux系统内核优化(一)
生活随笔
收集整理的這篇文章主要介紹了
linux 内核系统优化,Linux系统内核优化(一)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Linux內核參數調整(用于大并發的WEB服務器)
cat?>?/etc/sysctl.conf?
net.ipv4.tcp_syncookies?=?1
fs.file-max?=?999999
net.ipv4.tcp_tw_reuse?=?1
net.ipv4.tcp_keepalive_time?=?600
net.ipv4.tcp_fin_timeout?=?30
net.ipv4.tcp_max_tw_buckets?=?5000
net.ipv4.ip_local_port_range?=?1024?61000
net.ipv4.tcp_rmem?=?10240?87380?12582912
net.ipv4.tcp_wmem?=?10240?87380?12582912
net.core.netdev_max_backlog?=?8096
net.core.rmem_default?=?6291456
net.core.wmem_default?=?6291456
net.core.rmem_max?=?12582912
net.core.wmem_max?=?12582912
net.ipv4.tcp_max_syn_backlog?=?1024
EOF
總結
以上是生活随笔為你收集整理的linux 内核系统优化,Linux系统内核优化(一)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: dax 筛选 包含某个字_筛选状态(AL
- 下一篇: SkyEye——汽车电子系统仿真测试工具