my ulimit is set to 1024 files, the error occurs regularly… any idea?
ah, and i should add, this is from our backgroundrb indexing process
there is basically nothing else than opening and closing the index, all
of the time. this isn’t necessarily a ferret problem, but the process
isn’t doing much else.
my ulimit is set to 1024 files, the error occurs regularly… any idea?
ah, and i should add, this is from our backgroundrb indexing process
there is basically nothing else than opening and closing the index, all
of the time. this isn’t necessarily a ferret problem, but the process
isn’t doing much else.
This is not a bug but rather a limitation of the operating system.
There are a few solutions. If you are getting this problem you should
definitely be sure to set :use_compound_file to true (which is the
default setting). You might also like to lower the merge_factor which
defaults to 10. Having a lower merge_factor will slow indexing a
little but it will actually make search faster. Try setting it to 4.
Alternatively, in your situation, I would probably just increase the
file handle limit. I’m sure you’d have enough memory to do that.
Cheers,
Dave
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.