Skip to content

Commit

Permalink
Update 服务器参数调整.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bugfan authored Nov 9, 2020
1 parent 42af849 commit 6a0b6d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions linux/服务器参数调整.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ netstat -anpt
/proc/sys/net/ipv4/tcp_synack_retries // syn-ack重试次数,默认5,感觉1-2就行
/proc/sys/net/ipv4/tcp_syncookies //开启这个cookies
```
4. socket: Too many open files (24) ---> ulimit -n是设置同时打开文件的最大数值
```
ulimit -n 35768
```

0 comments on commit 6a0b6d3

Please sign in to comment.