Maximum number of threads per process in Linux?

前端 未结 16 2804
轮回少年
轮回少年 2020-11-22 02:16

What is the maximum number of threads that can be created by a process under Linux?

How (if possible) can this value be modified?

16条回答
  •  北恋
    北恋 (楼主)
    2020-11-22 02:40

    We can see the maximum number of threads defined in the following file in linux

    cat /proc/sys/kernel/threads-max

    (OR)

    sysctl -a | grep threads-max

提交回复
热议问题