We use Jenkins for QA automation purposes, we have around 200 nodes (real computers) and sometimes up to 200 jobs that can run in parallel on those nodes.
We are getting more and more often this error “can’t start new thread”, inside shell scripts in our jobs.
In the Jenkins monitor web page, I see this line at the end:
Threads on : Number = 1,068, Maximum = 1,508
And when the crash situation occurs, the thread number reaches the maximum, so I am pretty confident that this is our issue.
How can I increase the maximum thread so our jobs stop failing?
We are running Jenkins in a Docker container, and if there are command line parameters to send to Jenkins, I don’t really know how to change the Jenkins command line …
Thanks for your help