> So at this stage ferret should be up and fine but...
> Now any attempt to use ferret gets the error (Entry is the model)
> 
> A ActsAsFerret::IndexNotDefined occurred in search#index:
>  entry
>  (druby:/localhost:9010)
> /var/www/releases/20080922044701/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:264:in
> `get_index'
> 
> 
> I've tried to simulate this in the staging environment with an
> artificially low memory limit but everything seems to reset fine.
> 
> Anyone see anything similar themselves, do anything different or have
> any suggestions?

Hey,

I'm also getting the same error from my app almost every time the DRB 
has been restarted by monit (either due to the DRB exceeding the memory 
limits configured in monit, or after the DRB has segfaulted).

I can reproduce this error by:
* running my app & DRB in production mode
* stopping the DRB
* doing something with the app that updates / searches the ferret index
* starting the DRB
* running a search / or updating the index will yield this error now...

Restarting mongrel when this error occurs fixes the issue, but it's not 
an ideal solution...

I'm using the latest aaf from github and ferret gem version 0.11.6.

Wondering if anyone else is getting the same IndexNotDefined exception?

Cheers,

Deb
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to