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

High CPU usage caused by WindowsProcess input copy threads in ec2-plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: ec2-plugin
    • Labels:
    • Environment:
      Jenkins Master OS: Centos 6.9
      Jenkins Slave: Windows 2008R2
      ec2-plugin version: 1.39
    • Similar Issues:
    • Released As:
      1.45

      Description

      I am using the ec2-plugin on jenkins to autoscale windows slaves. When these slaves are created, the plugin starts the input-copy and output-copy threads(Class WindowsProcess). However, the input copy threads threads do not die even when the slave is terminated from the AWS console or by the plugin itself. The threads keep utilizing the Jenkins CPU and eventually stress it enough to cause Jenkins master to crash.

      These threads can be seen under <JENKINS_URL>/monitoring?part=threads

        Attachments

          Activity

          Hide
          raihaan Raihaan Shouhell added a comment -

          Hi Shubham Dhoka this should be fixed in the latest incremental could you try this build

          https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/ec2/1.45-rc1024.cafa05a12c08/

          Show
          raihaan Raihaan Shouhell added a comment - Hi Shubham Dhoka this should be fixed in the latest incremental could you try this build https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/ec2/1.45-rc1024.cafa05a12c08/

            People

            Assignee:
            raihaan Raihaan Shouhell
            Reporter:
            sdhoka Shubham Dhoka
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: