修改linux的openfiles数(ulimit -n)

论坛 期权论坛 脚本     
匿名技术用户   2021-1-2 18:42   31   0
修改linux open files(ulimit -n):
vi /etc/security/limits.conf
在最后加上
* soft nofile 65532
* hard nofile 65532
root soft nofile 65532
root hard nofile 65532
也不必重启机器,断开当前连接,重连就可以生效
分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP