Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8724

Matrix Job Parents and Executors

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Critical Critical
    • matrix-project-plugin
    • None
    • Windows, 1.395

      Since JENKINS-936 matrix parent job will no longer consume an executor. While this prevents deadlocks, a problem arises when many matrix jobs are started in parallel. All parents will run e.g. doing the SVN checkouts. regular jobs consuming an executor may still run in parallel. So the overalll number of parallel running jobs/activities can easily exceed the configured number of executors - and the result is a huge overall slowdown of the system.
      As a further improvement I suggest changing the behavior again. A matrix patent should start consuming an executor. It will stay in the queue if there is no free executor. Once the matrix parent is done (e.g. checking out files) and activated child jobs, it will release its executor. Thus the next build in the queue can run, which may be the child job or whatever is there. This way there will be no deadlocks and at no time more active jobs are running than executors are available.

            Unassigned Unassigned
            axelheider Axel Heider
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: