I am currently building a stress testing tool, and as such I need a pretty massive number of threads. I already went through all settings to raise the limit, but there is one last setting, the upper system-wide limit in
/proc/sys/kernel/threads-max, that I can't seem to be able to change.
sysctl -w kernel.threads-max=200000
Editing manually with
echo 200000 > /proc/sys/kernel/threads-max
/etc/sysctl.conf and running
If I run those as
sudo, I have no error displayed (the new value is even displayed), but when checking again, the value hasn't changed either. When trying to edit the value with
gedit, it spat an
whatever the value I try, even the original one. I had no problem changing the
I really have no clue why it refuses my edits, and I haven't been able to find anybody with a similar problem, so I would be very grateful if someone could explain what is happening.