On Tue, May 01, 2007 at 06:45:49PM +0200, Ben wrote: > I've installed the ferret gem. I installed AAF as a plugin into my > vendor/plugins directory of my project. In development environment my > searches work just fine, without any problems. > > For production I configured the ferret_server.yml file with correct > information about the machine my DRb server is running on. I start the > ferret server with the following command: > > ruby script/runner 'load "script/ferret_start"' > > The DRb server seems to be starting fine. I get: > > Starting ferret DRb server...Done. > > But when I run a top, I see that my ruby process that I started > ferret_server in is sitting at 95 to 99% at all times. This happens with > no load on the server. Basically it seems that the DRb server is in some > sort of endless loop. Any search request just blocks and doesn't come > back. But as soon as I kill the DRb ruby process, I get a connection > error, which tell me that the search was waiting for the server to > finish doing whatever it's doing.
Recently a similar problem came up because AR models were explicitly required in environment.rb. Could you please try AAF trunk and start your server with FERRET_USE_LOCAL_INDEX=1 ruby script/runner 'load "script/ferret_start"' This explicitly tells the server that it *is* the server and therefore should use the local index. Jens -- Jens Krämer webit! Gesellschaft für neue Medien mbH Schnorrstraße 76 | 01069 Dresden Telefon +49 351 46766-0 | Telefax +49 351 46766-66 [EMAIL PROTECTED] | www.webit.de Amtsgericht Dresden | HRB 15422 GF Sven Haubold, Hagen Malessa _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

