Linux 修改最大线程数
- 查看线程数
ulimit -a
- 修改配置文件
vim /etc/security/limits.d/90-nproc.conf
user soft nproc 1031950
- 改完即可生效
参考文献:https://www.cnblogs.com/jager/p/5776655.html
ulimit -a
vim /etc/security/limits.d/90-nproc.conf
user soft nproc 1031950
参考文献:https://www.cnblogs.com/jager/p/5776655.html