1记录未修改之前的ulimit

 

[root@bogon ~]# ulimit -a

 

2修改配置文件

vim  /etc/security/limits.conf   在后面添加

*      soft    nofile  100000

*      hard    nofile  100000

*      soft    nproc   65535

*      hard    nproc   65535

 

重启机器,修改 /etc/security/limits.conf 里的配置后,需重启机器才能生效

   

3查看修改后的ulimit

 

[root@bogon ~]# ulimit -a

 

相关文章:

  • 2021-11-19
  • 2022-12-23
  • 2021-08-30
  • 2021-04-09
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
猜你喜欢
  • 2022-12-23
  • 2021-06-02
  • 2021-12-26
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案