BitstreamReader file descriptor leak
------------------------------------

                 Key: DS-755
                 URL: https://jira.duraspace.org/browse/DS-755
             Project: DSpace
          Issue Type: Bug
          Components: XMLUI
    Affects Versions: 1.6.2, 1.5.2
            Reporter: Gareth Waller
            Priority: Major


The BitstreamReader class opens a file descriptor to a bitstream via a call to 
"retrieve()" (line 325) but this file descriptor is never closed thereby 
causing a leak.

This can be replicated by clicking on the View/Download links in the item 
landing pages and constantly checking the open file descriptors on the server. 
The result of this means that the max process limit for open file descriptors 
can be met if the service is under heavy load.

This has been observed in v1.5.2 and the code looks to be the same in v1.6.2.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to