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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • ec2-plugin
    • Jenkins Master OS: Centos 6.9
      Jenkins Slave: Windows 2008R2
      ec2-plugin version: 1.39
    • 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

          Hi sdhoka 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/

          raihaan Raihaan Shouhell added a comment - Hi sdhoka 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

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

            Dates

              Created:
              Updated:
              Resolved: