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

Leaking of file handle

XMLWordPrintable

      While investigating a problem while deleting jobs with an underlying NFS, I found a file handle not being closed properly.

      Opened /var/jenkins_home/jobs/foo3/builds/2/log by thread:Executor #0 for 1a23cd785b098 : executing foo3 #2 on Tue Feb 21 18:24:12 UTC 2017
              at java.io.FileOutputStream.<init>(FileOutputStream.java:214)
              at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
              at org.jenkinsci.plugins.oneshot.OneShotSlave.setExecutable(OneShotSlave.java:212)
              at org.jenkinsci.plugins.oneshot.OneShotExecutorQueueListener$1.onInitialize(OneShotExecutorQueueListener.java:102)
              at hudson.model.listeners.RunListener.fireInitialize(RunListener.java:225)
              at hudson.model.Run.onStartBuilding(Run.java:1882)
              at hudson.model.Run.execute(Run.java:1697)
              at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
              at hudson.model.ResourceController.execute(ResourceController.java:98)
              at hudson.model.Executor.run(Executor.java:404)
      

            Unassigned Unassigned
            vlatombe Vincent Latombe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: