本文作者:丁辉
修改系统默认Limits值
修改文件
1
vi /etc/security/limits.conf
添加内容
1
2
3
4* soft nofile 65535
* hard nofile 65535
root soft nofile 65535
root hard nofile 65535重新开启客户端链接查看
1
ulimit -n
结果为
65535
I'm so cute. Please give me money.
- 本文链接: https://blog.offends.cn/Linux/Docs/修改系统默认Limits值.html
- 版权声明: 本博客所有文章除特别声明外,均默认采用 CC BY-NC-SA 4.0 许可协议。