You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/24 11:16:40 UTC
[jira] [Resolved] (SOLR-2912) File descriptor leak in
ShowFileRequestHandler.getFileContents()
[ https://issues.apache.org/jira/browse/SOLR-2912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-2912.
-----------------------------------------
Resolution: Fixed
Assignee: Shalin Shekhar Mangar
Committed revision 1205774 on trunk and 1205775 on branch_3x.
> File descriptor leak in ShowFileRequestHandler.getFileContents()
> ----------------------------------------------------------------
>
> Key: SOLR-2912
> URL: https://issues.apache.org/jira/browse/SOLR-2912
> Project: Solr
> Issue Type: Bug
> Components: web gui
> Affects Versions: 3.2
> Reporter: Michael Ryan
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 3.6, 4.0
>
> Attachments: SOLR-2912.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org