Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Environment:
      Jenkins: 2.77
      Ubuntu: 14.04 LTS
      Tomcat: 8.0.43
    • Similar Issues:

      Description

      With Jenkins 2.77, I'm seeing that build logs are getting leaked.

      Using lsof, I can see that there are few open file handles to the same build log:

      sudo lsof -p <pid> \| grep -E '/log$' \| cut -d '/' -f 2- | sort
      var/lib/jenkins/jobs/Build_Example/builds/803/log
      var/lib/jenkins/jobs/Build_Example/builds/803/log
      var/lib/jenkins/jobs/Build_Example/builds/803/log
      var/lib/jenkins/jobs/Build_Example/builds/803/log
      var/lib/jenkins/jobs/Build_Example/builds/803/log
      var/lib/jenkins/jobs/Build_Example/builds/803/log
      var/lib/jenkins/jobs/Build_Example/builds/803/log
      var/lib/jenkins/jobs/Build_Example/builds/803/log
      var/lib/jenkins/jobs/Build_Example/builds/803/log
      var/lib/jenkins/jobs/Build_Example/builds/803/log
      var/lib/jenkins/jobs/Build_Example/builds/803/log
      var/lib/jenkins/jobs/Build_Example/builds/803/log
      var/lib/jenkins/jobs/Build_Example/builds/804/log
      var/lib/jenkins/jobs/Build_Example/builds/804/log
      var/lib/jenkins/jobs/Build_Example/builds/804/log
      var/lib/jenkins/jobs/Build_Example/builds/804/log
      var/lib/jenkins/jobs/Build_Example/builds/804/log
      var/lib/jenkins/jobs/Build_Example/builds/804/log
      var/lib/jenkins/jobs/Build_Example/builds/804/log
      var/lib/jenkins/jobs/Build_Example/builds/804/log
      var/lib/jenkins/jobs/Build_Example/builds/804/log
      var/lib/jenkins/jobs/Build_Example/builds/804/log
      var/lib/jenkins/jobs/Build_Example/builds/804/log
      var/lib/jenkins/jobs/Build_Example/builds/804/log
      ...
      

      I've truncated the list as it's a couple thousand long. The behaivor repeats, regardless of the type of job type (i.e. Pipeline, or Freestyle).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mdelaney Mike Delaney
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: