在/etc/syscurity/limits.conf

加入以下两行:

elastic hard nofile 65536

elastic soft nofile  65536

#备注:elastic这里是指定用户elastic 当然可以用*表示所有人

sh-4.1# tail -2 /etc/security/limits.conf 
* hard nofile 65536
* soft nofile 65536

 

相关文章:

  • 2021-08-21
  • 2022-12-23
  • 2021-12-13
  • 2021-11-23
  • 2021-07-01
  • 2022-12-23
  • 2022-01-07
猜你喜欢
  • 2021-12-31
  • 2021-05-14
  • 2021-11-30
  • 2022-12-23
相关资源
相似解决方案