Maximum number of threads per process in Linux?

前端 未结 16 3021
轮回少年
轮回少年 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:41

    To set permanently,

    vim /etc/sysctl.conf
    

    and add

    kernel.threads-max = "value"
    

提交回复
热议问题