• 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

          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.

          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.

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

              Created:
              Updated:
              Resolved: