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

Consider number of executors when creating new instances

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • ec2-plugin
    • None

      I would like that EC2 plugin considers the number of executors an EC2 instance agent has. Nowadays, e.g.: if you have 3 builds queued, it creates 3 new EC2 instances regardless the # of executors. If we assume the targeting EC2 instances have 3 executors, you would not need 3 new EC2 instances, just one. 

          [JENKINS-66037] Consider number of executors when creating new instances

          Are you using NoDelayProvisioning?

          Raihaan Shouhell added a comment - Are you using NoDelayProvisioning?

          Gopi added a comment -

          NoDelayProvisioning theoretically sounds like good option. What if I set number of executors to 2 does this option do the following?

          • A new worker is created by ignoring executor count if load is high on current workers even though executors are available on them. This seems to be case for this request.
          • No delay in provisioning a new worker if there are no available executors?  I've this issue. Jenkins is taking at least 1-2 mins before it decides to be create a new worker when no executors are available. NoDelayProvisioning is not enabled.

          Gopi added a comment - NoDelayProvisioning theoretically sounds like good option. What if I set number of executors to 2 does this option do the following? A new worker is created by ignoring executor count if load is high on current workers even though executors are available on them. This seems to be case for this request. No delay in provisioning a new worker if there are no available executors?  I've this issue. Jenkins is taking at least 1-2 mins before it decides to be create a new worker when no executors are available. NoDelayProvisioning is not enabled.

            thoulen FABRIZIO MANFREDI
            caipers Samuel
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: