Solr
  1. Solr
  2. SOLR-2912

File descriptor leak in ShowFileRequestHandler.getFileContents()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: web gui
    • Labels:
      None

      Description

      There is a file descriptor leak in ShowFileRequestHandler.getFileContents() - the InputStream is not closed. This could cause a "Too many open files" error if the admin page is loaded a lot.

      I've only tested this on 3.2, but I think it affects all recent versions, including trunk.

      1. SOLR-2912.patch
        0.8 kB
        Shalin Shekhar Mangar

        Activity

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Michael Ryan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development