Jens Kraemer wrote: > Hi! > On Sat, Sep 16, 2006 at 12:53:48PM +0200, Sebastien Hugues wrote: >> /usr/lib/ruby/gems/1.8/gems/ferret-0.10.4/lib/ferret/index.rb:663: >> [BUG] Segmentation fault >> >> Theses servers are serving a lot of requests. Is it good to have >> shared NFS index ? Is there a lock problem ? > > Possible that there are locking problems. We had this question come up > some days ago on the list, hope Dave can shed some light on this. > > I'm working on remote indexing capabilities for acts_as_ferret right > now. Atm I have a little drb server that does the indexing/searching, > and an experimental branch of acts_as_ferret that can talk to this > server. > So you'd only have one index and both machines talking to this. Drop me > line if you're interested in a solution like this.
An alternative and IMO better solution is to disable indexing in the Rails app and use an external process that periodically reindexes changed (updated_at > last_update) records. This has the additional advantage that the index update can't block or crash the Rails app servers. -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

