Skip to content

Commit

Permalink
更新文档:添加压测数据
Browse files Browse the repository at this point in the history
  • Loading branch information
link1st committed Aug 30, 2019
1 parent 19c12a8 commit eae8da6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -699,13 +699,12 @@ cat /proc/sys/fs/file-max

```
# 配置参考
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 0
net.ipv4.ip_local_port_range = 1024 65000
net.ipv4.tcp_mem = 786432 2097152 3145728
net.ipv4.tcp_rmem = 4096 4096 16777216
net.ipv4.tcp_wmem = 4096 4096 16777216
vim /etc/sysctl.conf
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 0
```

`sysctl -p` 修改配置以后使得配置生效命令
Expand Down

0 comments on commit eae8da6

Please sign in to comment.