Bug 815446 - IndexReader leaks file handles on close
Summary: IndexReader leaks file handles on close
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: HibernateSearch
Version: 2.0.0.ER4,2.0.0.ER3
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 2.0.0.ER6
Assignee: Strong Liu
QA Contact: Karel Piwko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-23 15:59 UTC by Emmanuel Bernard
Modified: 2013-12-02 23:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-24 14:52:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Emmanuel Bernard 2012-04-23 15:59:30 UTC
A user claims that we are leaking files handles. We need to investigate to confirm and fix. This is a serious issue if confirmed.

https://hibernate.onjira.com/browse/HSEARCH-1090

Comment 1 Emmanuel Bernard 2012-05-04 09:31:34 UTC
This is confirmed and a fix is available https://github.com/Sanne/hibernate-search/commit/e2ad4185b27061a9e86ce8557661ebd0219f7b49

Tests will hopefully follow before being applied in master

Comment 2 Emmanuel Bernard 2012-05-09 11:37:33 UTC
 Fix and tests are now available in upstream/master under HSEARCH-1090

Comment 4 Emmanuel Bernard 2012-05-10 10:14:31 UTC
No, there is no workaround besides the fix in upstream/master.

Comment 5 Emmanuel Bernard 2012-05-14 15:11:13 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
File handles were improperly left opened leading to errors when the OS file handle limit was reached or increased slowness otherwise.

There is no workaround but to use the fixed version.

Comment 6 Karel Piwko 2012-06-05 13:59:18 UTC
Verified, removed technical notes. Tests passed.

Comment 7 Karel Piwko 2012-06-05 13:59:18 UTC
Deleted Technical Notes Contents.

Old Contents:
File handles were improperly left opened leading to errors when the OS file handle limit was reached or increased slowness otherwise.

There is no workaround but to use the fixed version.

Comment 9 Karel Piwko 2012-09-24 14:52:19 UTC
Closed, release as a part of 2.0.0.GA.


Note You need to log in before you can comment on or make changes to this bug.