Last modified: 2014-10-07 12:38:35 UTC
Yesterday I tried to delete a bunch of -merge jobs (bug 51395). That ends up hitting a bug in Jenkins: https://issues.jenkins-ci.org/browse/JENKINS-18169 https://issues.jenkins-ci.org/browse/JENKINS-18199 The deletion thread acquire a lock and there seems to be a lock loop somewhere that cause the threads to never be able to complete. That eventually exhaust all threads available on the server :(
I have hit that bug when deleting the -merge jobs (bug 51395) in parallel :( The workaround is to only delete one job at a time.
No updates on Jenkins bug reports.
https://issues.jenkins-ci.org/browse/JENKINS-18169 got marked as a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-18589 which was fixed in 1.522 (we run 1.532.2 right now). Also noticed https://issues.jenkins-ci.org/browse/JENKINS-19446 "Deadlock while parallel deletion/rename of jobs" which is fixed in 1.544. So I guess we can close our bug whenever we upgrade to post 1.544.
> Also noticed https://issues.jenkins-ci.org/browse/JENKINS-19446 > "Deadlock while parallel deletion/rename of jobs" which is fixed in 1.544. This has been back ported to 1.532.3 LTS version. So I believe whenever we upgrade to it we will no more have any deadlock. We can test it out by copying a job with a long history twice and then delete both copies at the same time and see whether Jenkins survive.
Filled RT #7314 to get Jenkins 1.532.3.
Jenkins upgraded to 1.532.3, will have to test whether that fixed the deadlock issue when deleting jobs concurrently.
I had the opportunity to delete several jobs each having a long history. No deadlock appeared with Jenkins 1.565.3