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

Master: too many open files / remote file operation failed because already closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      Hello,

      i have the problem that after a couple of days Hudson hangs, only throwing "too
      many open files" exceptions again and again. lsof shows that there are several
      thousand tmp-files in
      /home/hudson/.hudson/jobs/QIS_HEAD/builds/2009-05-29_07-11-46/workspace-files/7f16be5b.tmp

      They contain this stacktrace:

      hudson.util.IOException2: remote file operation failed
      at hudson.FilePath.act(FilePath.java:631)
      at hudson.FilePath.copyTo(FilePath.java:1108)
      at
      hudson.plugins.tasks.util.HealthAwarePublisher.copyFilesFromSlaveToMaster(HealthAwarePublisher.java:189)
      at
      hudson.plugins.tasks.util.HealthAwarePublisher.perform(HealthAwarePublisher.java:145)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:372)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:360)
      at hudson.model.Build$RunnerImpl.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345)
      at hudson.model.Run.run(Run.java:947)
      at hudson.model.Build.run(Build.java:112)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:119)
      Caused by: java.io.IOException: already closed
      at hudson.remoting.Channel.send(Channel.java:370)
      at hudson.remoting.Request.call(Request.java:104)
      at hudson.remoting.Channel.call(Channel.java:509)
      at hudson.FilePath.act(FilePath.java:626)
      ... 11 more
      Can't copy file from slave to master:
      slave=/home/hudson/hudson/workspace/QIS_HEAD/qisserver/WEB-INF/src/generated/de/his/appserver/service/dto/gen/HisbezeichnerDtoFactory.java,
      master=/home/hudson/.hudson/jobs/QIS_HEAD/builds/2009-05-29_07-11-46/workspace-files/ff810f24.tmp

      Hudson is running as a master withou any executers and one slave with two executers.

            Unassigned Unassigned
            nhb nhb
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: