banner
欢迎观看

修改系统默认Limits值

Scroll down

本文作者:丁辉

修改系统默认Limits值

  1. 修改文件

    1
    vi /etc/security/limits.conf
  2. 添加内容

    1
    2
    3
    4
    * soft nofile 65535
    * hard nofile 65535
    root soft nofile 65535
    root hard nofile 65535
  3. 重新开启客户端链接查看

    1
    ulimit -n

    结果为 65535

要是这篇文章为您解了惑、带来了帮助,不妨用小小的打赏来支持下我的创作吧,您的鼓励就是我持续分享的最大动力哦,感谢您啦!

其他文章
cover
华为服务器设置风扇转速
  • 70/01/01
  • 00:00
  • Linux-Docs
目录导航 置顶
  1. 1. 修改系统默认Limits值
请输入关键词进行搜索