max number of threads [1024] for user [lish] likely too low, increase to at least [2048]

Posted 运维工匠实战(如果发现有错误请大家把正确的方法发送给我,方便

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了max number of threads [1024] for user [lish] likely too low, increase to at least [2048]相关的知识,希望对你有一定的参考价值。

 

# cat /etc/security/limits.d/90-nproc.conf 
# Default limit for number of users processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.

*          soft    nproc     2048
root       soft    nproc     unlimited
#在这里修改

 

以上是关于max number of threads [1024] for user [lish] likely too low, increase to at least [2048]的主要内容,如果未能解决你的问题,请参考以下文章

Calculate the Optimum Number of Threads

200. Number of Islands + 695. Max Area of Island

1301. Number of Paths with Max Score

leetcode1301. Number of Paths with Max Score

kernel: nfsd: too many open TCP sockets, consider increasing the number of threads

atomikos 创建数据源,报Max number of active transactions