运维
优化参数:
/etc/security/limits.conf (针对用户)
/etc/security/limits.d/20-nproc.conf (/etc/security/limits.d下文件的相同配置可以覆盖/etc/security/limits.conf)
/etc/sysctl.conf (针对整个系统参数配置)
* 针对所有用户
soft 软连接限制
hard
nofile 最大打开的文件数
参考:
https://blog.csdn.net/u010674101/article/details/126299540
https://www.cnblogs.com/operationhome/p/11966041.html
https://www.cnblogs.com/plefan/p/14426562.html
https://blog.51cto.com/880314/1258277