Chris Lowis wrote: > Does anybody have experience with running ferret on dreamhost ? > > My app is running ok until I install the acts_as_ferret plugin, at > which > point I get "Rails application failed to start properly" errors. I've > used script/console to confirm that I can require 'ferret' and make a > new Index object . Everything appears to be ok in that respect. > Unfortunately there is nothing logged in these circumstances, except : > > [Wed Aug 16 07:10:23 2006] [error] [client 152.78.115.107] FastCGI: > comm > with (dynamic) server > "/home/c_lowis/residence-review.com/public/dispatch.fcgi" aborted: > (first read) idle timeout (120 sec) > [Wed Aug 16 07:10:23 2006] [error] [client 152.78.115.107] FastCGI: > incomplete headers (0 bytes) received from server > "/home/c_lowis/residence-review.com/public/dispatch.fcgi" > > in the "apache" type logs that dreamhost gives me . Through trial and > error I am fairly sure it is ferret that is causing this, as when I > remove the plugin the site works ok. > > I am using ferret 0.9.5 . As far as I can see dispatch.fcgi is not > starting.
I'm not sure if this applies to your situation but I got this particular error message whenever Rails (i.e. dispatch.fcgi) returned a response starting with a whitespace character. Especially AJAX calls to actions that do a 'render :partial' are prone to this error. Maybe it's actually the acts_as_ferret plugin that causes fcgi to crash but I thought I better mention it. You might also want to consider Mongrel as an alternative to FCGI. I switched my apps a month ago and I'm really happy with it. Dealing with the peculiarities of FCGI can be very frustrating. At least it's easier with Mongrel to track down errors. Cheers, Andy _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

