Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

248
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!