maximum number of threads allowed to run
问题 Maximum number of threads in my linux system is 93946. I got this value from cat /proc/sys/kernel/threads-max . But when I create around 32768 threads I got error cannot create new native threads How can I create maximum number of threads(around 93946)? If it is not possible to create maximum number of threads (93946), how can I find maximum number of threads allowed to run? 回答1: You can find max thread with command: sysctl -a| grep kernel.threads-max Edit the /etc/sysctl.conf file and add