0

I have manually edited /etc/sysctl.conf and added this line

kernel.threads-max=70000

However despite the fact that

# cat /etc/sysctl.conf | grep thread
kernel.threads-max=70000

what I see is that

# sysctl kernel.threads-max 
kernel.threads-max = 63529

and of course

# cat /proc/sys/kernel/threads-max 
63529

(and this is after a reboot I just did)

why is that?

edit

I am unable to change this run time also via the /proc fs

# echo 70000 > /proc/sys/kernel/threads-max 
# sysctl kernel.threads-max 
kernel.threads-max = 63529
# cat /proc/sys/kernel/threads-max 
63529

(all commands were executed using the root account)

  • 2
    The doc says it's limited by amount of ram. – A.B Apr 21 at 12:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.