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

ThrottleComputationQueueTaskDispatcher has a race condition and allows multiple tasks to start above limit

    XMLWordPrintable

Details

    Description

      Because the queue processes all tasks at once, the ThrottleComputationQueueTaskDispatcher's current implementation of checking what is currently executing misses out on what is currently being scheduled and so as a result you can get more than the limit of 5 processing from scheduled to executing at the same time and then the CPU resources are starved serving potentially 100's of concurrent indexing jobs.

      Attachments

        Issue Links

          Activity

            People

              stephenconnolly Stephen Connolly
              stephenconnolly Stephen Connolly
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: