[ 
https://jira.duraspace.org/browse/DS-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claudia Jürgen updated DS-677:
------------------------------

    Assignee: Keith Gilbertson
      Status: Open  (was: Received)

> xmlui BitstreamReader holds database connections open while large files 
> download, exhausting connection pool
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: DS-677
>                 URL: https://jira.duraspace.org/browse/DS-677
>             Project: DSpace
>          Issue Type: Bug
>          Components: XMLUI
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2
>            Reporter: Keith Gilbertson
>            Assignee: Keith Gilbertson
>            Priority: Major
>         Attachments: bitstreamreader_closedb.patch.txt
>
>
> The BitstreamReader in the xmlui needs a database connection to locate 
> Bitstreams in the assetstore before sending them back to the client's 
> browser.  The database connection seems to be held open until the file is 
> sent completely.  This can cause problems on systems with many users, 
> especially where the bitstreams are very large, as with video files.  Users 
> will see an error when the application is unable to successfully get a 
> connection from the database pool.
> A patch is attached that forces the database connection closed by calling 
> context.complete() early.  Fix has worked very successfully in 1.5.x under 
> heavy usage.  It has only been tested lightly in DSpace 1.6.x.  I'd like to 
> commit this for a fix in 1.7, but am unsure:
>  
>     -  Does this patch violate some part of the DSpace architecture by 
> closing the db connection in the wrong place?
>     -  Could JSPUI have a similar problem?  Is anyone aware of a technique 
> for automatically finding this sort of issue?
>     

-- 
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

       

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to