Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

250
Visualizações
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?

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

You can find max thread with command:

sysctl -a| grep kernel.threads-max

Edit the /etc/sysctl.conf file and add new value

kernel.threads-max = 93946

Make change effective with sysctl -p

over 4 years ago · Santiago Trujillo Relatório

0

please check out /proc/sys/kernel/pid_max. Since threads have their own pid, this value limits the maximum number of threads too.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda