修改/etc/security/limits.conf,例如启动程序的用户为webadmin,则添加以下配置:

webadmin        -       nofile  65536
webadmin        -       nproc   65536

其中, nofile是文件句柄数量,线程句柄也属于它。nproc是进程数量。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2022-02-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-28
  • 2021-08-28
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案