-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Index size growing uncontrolled
PostPosted: Wed Apr 11, 2012 4:17 am 
Newbie

Joined: Thu Dec 14, 2006 6:42 am
Posts: 15
I have a master-slave configuration. When I install a fresh application I manually run the indexing on the master, and after a short time I get two indexes (the master and the copy) that are about 200MB in size.
After one day, with hardly no application usage, the index has grown to 12 GB, filling up the hard disk.
This happens constantly.

What could be the problem?

hibernate.search.default.directory_provider = filesystem-master
hibernate.search.default.indexBase = /mpath/lucene/indexes
hibernate.search.default.sourceBase = /mpath/lucene/copy

I'm using Hibernate Search 3.4.2.Final on Hibernate Core 3.6.0 and Lucene Core 3.1.0


Top
 Profile  
 
 Post subject: Re: Index size growing uncontrolled
PostPosted: Fri Apr 13, 2012 8:09 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
hi, you're using old version of libraries. In particular in that version of Lucene there where some file handles leaks under specific stress conditions, I think that might be preventing proper cleanup when segments should be deleted.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 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.