操作系统为redhat
需要修改系统设置/etc/security/limits.conf
增加:
* soft nofile 65536
* hard nofile 65536
* soft nproc 131072
* hard nproc 131072
重新登录即可。
本文介绍了如何在Red Hat操作系统中修改/etc/security/limits.conf文件,以增加用户可打开的最大文件数(nofile)和最大进程数(nproc),分别为65536和131072,这一操作对于运行资源密集型应用至关重要。
操作系统为redhat
需要修改系统设置/etc/security/limits.conf
增加:
* soft nofile 65536
* hard nofile 65536
* soft nproc 131072
* hard nproc 131072
重新登录即可。
3535

被折叠的 条评论
为什么被折叠?
