Linux 文件系统设置 文件句柄数

ulimit -n 查看 

 

echo "* - nofile 65536" >> /etc/security/limits.conf
echo "* soft noproc 65536" >> /etc/security/limits.conf
echo "* hard noproc 65536" >> /etc/security/limits.conf
echo "* soft nofile 65536" >> /etc/security/limits.conf
echo "* hard nofile 65536" >> /etc/security/limits.conf

 

 

noproc 是代表最大进程数

nofile 是代表最大文件打开数

相关文章:

  • 2021-08-30
  • 2021-08-21
猜你喜欢
  • 2021-07-25
  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
相关资源
相似解决方案