1.内存要求:4G或者更高
2.ip要求:单机20个ip
3.连接理论: 2的32次方(IP) * 2的16次方(端口) = 65536的3次方 = 281474976710656
4.linux默认最大文件数量为1024
5.修改系统文件数量限制
修改/etc/sysctl.conf增加:
net.ipv4.ip_local_port_range=1024 65535
fs.file-max=65535
修改/etc/security/limits.ocnf增加:
root hard nofile 65535
root soft nofile 65535