1. 程式人生 > >Linux 修改最大線程數

Linux 修改最大線程數

參考 ulimit -a vim https ger IT color www soft

  • 查看線程數

ulimit -a

  • 修改配置文件

vim /etc/security/limits.d/90-nproc.conf

user        soft    nproc     1031950
  • 改完即可生效

參考文獻:https://www.cnblogs.com/jager/p/5776655.html

Linux 修改最大線程數