1、修改后重启
sed -i '1,$c* soft nofile 65535\n* hard nofile 65535\n* soft nproc 65535\n* hard nproc 65535' /etc/security/limits.conf
2、查看是否生效
ulimit -n
3、查看当前已连接数
netstat -n | grep ESTABLISHED | wc -l