文章列表
Type: sysctl -p | grep mem
This will display your current buffer settings. Save These! You may want to roll-back these changes
Type: sysctl -w net.core.rmem_max=8388608
This sets the max OS receive buffer size for all types of connections.
Type: sysctl -w net.core.wmem_max=8388608
This sets the m ...
1./etc/security/limits.conf
vim /etc/security/limits.conf
* soft nofile 20480
* hard nofile 20480
2./etc/pam.d/login
session required /lib/security/pam_limits.so
netstat -n|awk '/^tcp/{++S[$NF]} END {for(a in S) print a,S[a]}'
网络连接情况
LISTEN:侦听来自远方的TCP端口的连接请求
SYN-SENT:再发送连接请求后等待匹配的连接请求
SY ...