Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2912

File descriptor leak in ShowFileRequestHandler.getFileContents()

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2
    • 3.6, 4.0-ALPHA
    • Admin UI
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            shalin Shalin Shekhar Mangar
            michaelryan Michael Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment