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

Cleanup leaks Jenkins master memory if node is deleted before cleanup finishes

    XMLWordPrintable

Details

    • 0.34

    Description

      Because the async resource cleanup doesn't check whether the channel it's attempting to send the delete commands over is currently valid, it means that it will keep attempting to delete the directory over and over.  This will cause the GC to hold onto the Channel/machine resources.

      In installations that use the Jenkins cloud feature, nodes that were deleted shortly/immediately after a job being finished will slowly leak resources till they OOM.

      Attachments

        Activity

          mmitche Matthew Mitchell created issue -
          mmitche Matthew Mitchell made changes -
          Field Original Value New Value
          Assignee Oliver Gondža [ olivergondza ] Matthew Mitchell [ mmitche ]
          mmitche Matthew Mitchell added a comment - Fixed in https://github.com/jenkinsci/ws-cleanup-plugin/pull/33  
          mmitche Matthew Mitchell made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          basil Basil Crow made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          basil Basil Crow added a comment - Fixed in jenkinsci/ws-cleanup-plugin#33 .
          basil Basil Crow made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Resolved [ 5 ]
          basil Basil Crow made changes -
          Status Resolved [ 5 ] Fixed but Unreleased [ 10203 ]
          basil Basil Crow added a comment -

          Released in 0.34.

          basil Basil Crow added a comment - Released in 0.34 .
          basil Basil Crow made changes -
          Released As 0.34
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

          People

            mmitche Matthew Mitchell
            mmitche Matthew Mitchell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: