有如下三种修改方式:

1.在/etc/rc.local 中增加一行 ulimit -SHn 65535
2.在/etc/profile 中增加一行 ulimit -SHn 65535
3.在/etc/security/limits.conf最后增加如下两行记录
* soft nofile 65535
* hard nofile 65535

相关文章:

  • 2022-02-05
  • 2022-02-16
  • 2022-12-23
猜你喜欢
  • 2021-12-17
  • 2021-12-02
  • 2022-12-23
  • 2022-02-26
  • 2021-12-19
  • 2021-11-22
  • 2021-07-25
相关资源
相似解决方案