• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • git-plugin
    • 1.532.2

      Jenkins is occasionally failing to load the index page and complains about "Too many open files". Looking at the open files, I see around 7000 such as this one:

      /xxxx/jenkins/jenkins_home/jobs/xxxx/jobs/messages/builds/2012-08-16_03-38-51/changelog.xml

      This is a rather large public Jenkins instance which is no doubt crawled by search engines.

          [JENKINS-22421] File descriptor leak - changelog.xml

          Ryan Campbell created issue -

          Jesse Glick added a comment -

          All the SCMs are Git, so it is likely either GitChangeLogParser or GitSCM.computeChangeLog that is responsible for the leak. I suspect the latter; it is not obvious from reading the code that its finally block works in all cases.

          Jesse Glick added a comment - All the SCMs are Git, so it is likely either GitChangeLogParser or GitSCM.computeChangeLog that is responsible for the leak. I suspect the latter; it is not obvious from reading the code that its finally block works in all cases.
          Jesse Glick made changes -
          Component/s New: git [ 15543 ]
          Component/s Original: core [ 15593 ]
          Labels New: memory-leak

          Ryan Campbell added a comment -

          It turns out that these were not leaks, it was just a case of a spider going through user/*/builds which was causing excessive parsing of changelogs.

          Ryan Campbell added a comment - It turns out that these were not leaks, it was just a case of a spider going through user/*/builds which was causing excessive parsing of changelogs.
          Ryan Campbell made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 154522 ] New: JNJira + In-Review [ 207574 ]

            Unassigned Unassigned
            recampbell Ryan Campbell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: