1) 调整如下配置文件
/etc/security/limits.d/20-nofile.conf
root soft nofile 65535
root hard nofile 65535
* soft nofile 65535
* hard nofile 65535
/etc/security/limits.d/20-nproc.conf
* - nproc 65535
root soft nproc unlimited
root hard nproc unlimited
2)其他配置文件
还未验证
长连接聊天中,netty启动后出现大量连接,报错:文件句柄太多,需要调整。