[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-1090) Hibernate search 4.* doesn't close open files

Sanne Grinovero (JIRA) noreply at atlassian.com
Thu May 3 15:11:09 EDT 2012


     [ https://hibernate.onjira.com/browse/HSEARCH-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanne Grinovero updated HSEARCH-1090:
-------------------------------------

    Priority: Critical  (was: Major)
      Labels:   (was: search)

> Hibernate search 4.* doesn't close open files
> ---------------------------------------------
>
>                 Key: HSEARCH-1090
>                 URL: https://hibernate.onjira.com/browse/HSEARCH-1090
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 4.0.0.Final, 4.1.0.Final
>         Environment: Hibernate ORM 4.1.2, H2 database
>            Reporter: Bostjan Lah
>            Assignee: Sanne Grinovero
>            Priority: Critical
>         Attachments: testcase.zip
>
>
> When running our application with Hibernate ORM 4.1.2 and Hibernate search 4.1.0 it very quickly uses all allowed open files. Increasing the limit just extends the time that it takes to consume all. This does not happen when running with Hibernate ORM 3.6 and Hibernate search 3.4.
> I have created a small testcase. When I run it here (Linux) I get to about 500 open deleted files (to count I use lsof -p xxx|grep -c deleted) within 10 minutes of starting it. It does not matter what filesystem access type I use (simple, nio, mmap). Mmap just tends to hide the issue better and keeps increasing process's virtual mem size. With nio it's very simple to check how many  deleted files are still open. Normally within about 20min the process runs out of it's 1024 allowed open files.
> I have tried playing with other search settings but none of them have helped so far.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list