用xshell登录linux系统之后,用命令>ulimit -a

注意到系统模式是1024个

linux修改最大的文件描述符(max file descriptors)

 

 

使用>ulimit -n 数量,可临时更改,生效范围为当前会话

 

永久修改的方法:

> vim /etc/security/limits.conf

添加:

* soft nofile 65536

* hard nofile 65536

 

保存后,重开会话生效

 

linux修改最大的文件描述符(max file descriptors)

 

相关文章:

  • 2021-10-22
  • 2022-12-23
  • 2022-01-14
  • 2022-02-18
  • 2022-12-23
  • 2021-08-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-28
  • 2021-10-16
  • 2022-12-23
  • 2021-07-17
相关资源
相似解决方案