Welcome Guest | Login

acts_as_ferret DRb Server with fastcgi

I'd like some info about using the DRb Server for acts_as_ferret when my app is running with fastcgi.  I've got everything working, but I have 2 questions.  I don't have a port assigned in my account center--is this because I'm using fastcgi?  The aaf installer configured ferret_server.yml with a port which works, but I'm guessing that my port may change.  Is this correct? Is there a way around this?

Also, I've found the thread covering restarting the acts_as_ferret Drb server on host reboot in the Mongrel case, but what about fastcgi?

Thanks!
Lisa

2008-09-16 08:30 AM

Hi Manyfish,

In order to run acts_as_ferret on your account, you have to buy a 50 Mb of dedicated swap memory. After adding 50 Mb of dedicated swap memory a port will be assigned to your account. You can use the assigned port to configure your ferret server through the file config/config/ferret_server.yml. Also the reboot cronjob can be set to ferret server as shown below.

@reboot cd path_to_railsapp && rm -f log/ferret.pid
@reboot cd path_to_railsapp && script/ferret_server -e production start



2008-09-16 01:07 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.