Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Search: deleted files never closed (too many open files)
PostPosted: Fri Apr 06, 2012 7:36 am 
Newbie

Joined: Fri Apr 06, 2012 7:25 am
Posts: 2
Hi,

in testing upgrade to hibernate search 4 we've come across a problem with deleted segment files never being closed.
We have increased open files limits to 10240 and still our tests don't complete. Eventually it keeps several thousand files open - all of which are marked as deleted when checking with lsof.
The only access type which doesn't suffer from this problem is mmap.
Here are the parameters we're using:

<prop key="hibernate.search.default.directory_provider">filesystem</prop>
<prop key="hibernate.search.default.indexBase">/tmp/test</prop>
<prop key="hibernate.search.default.filesystem_access_type">nio</prop>
<prop key="hibernate.search.default.locking_strategy">single</prop>
<prop key="hibernate.search.default.exclusive_index_use">true</prop>

Has anybody else come across something like this? I have tried googling this but have found nothing so far...

Thanks, best regards,
Bostjan


Top
 Profile  
 
 Post subject: Re: Search: deleted files never closed (too many open files)
PostPosted: Sat Apr 14, 2012 11:49 am 
Newbie

Joined: Fri Apr 06, 2012 7:25 am
Posts: 2
Hi,

I must clearly be doing something wrong since nobody else has this issue in version 4 and above.
But I just can't figure out what.
I have even created a jira issue with a small test case to demonstrate the problem - HSEARCH-1090.

Regards,
Bostjan


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.