- /etc/sysctl.conf
- /etc/security/limits.conf
- /etc/pam.d/common-session
- /etc/profile
执行 ulimit -n 4096
最好不要写到 /etc/profile , 不安全, 用的时候设置一下就行了.
作者:NewSea 如无特别标记说明,均为NewSea原创,版权私有,翻载必纠。欢迎交流,转载,但要在页面明显位置给出原文连接。谢谢。 |
wx60f7f54847950 ©著作权
执行 ulimit -n 4096
最好不要写到 /etc/profile , 不安全, 用的时候设置一下就行了.
作者:NewSea 如无特别标记说明,均为NewSea原创,版权私有,翻载必纠。欢迎交流,转载,但要在页面明显位置给出原文连接。谢谢。 |
上一篇:.net core2 笔记
下一篇:Mono开发。
在linux中,使用ulimit可以限制SHELL中的资源使用。ulimit 用于限制 shell 启动进
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M