banner
NEWS LETTER

修改系统默认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

I'm so cute. Please give me money.

其他文章
cover
Yum打包Rpm文件
  • 70/01/01
  • 00:00
  • Linux-Docs
cover
Systemctl查看日志
  • 70/01/01
  • 00:00
  • Linux-Docs
目录导航 置顶
  1. 1. 修改系统默认Limits值
请输入关键词进行搜索