Dreamhost FastCGI Production mode, Finally

by Thomas Aylott Wed, 30 Nov 2005 11:03:13 GMT

I had hacked my environment.rb file to force it into development mode while working on my theme.

I have just switched back to the normal version of the file. Dreamhost defaults Ruby on Rails to production mode now. So, this site should be relitively zippy now.

RSS feed for this post |Trackback from your site |Add your comment

  1. i’d thought i’d switched back to production mode before. But, It looks like I’d done something wrong. Switching back to the original file fixed it.

    I had been really ticked off at Dreamhost for being so danged slow but it looks like that was all my fault.

    It does seem 1000% faster to me now.

  2. My recommendation: setup a cron job to kill your dispatch.fcgi’s regularly (hourly or daily).

    It keeps everything fresh and running smoothly for me at Dreamhost.

    topfunky about 19 hours
  3. Whenever I assassinate them, they always seem to make the site completely unresponsive for a few minutes in their final death throws.

    I’m going to do it daily at least and see how it goes.

    Then maybe i’ll switch it to hourly, depending on traffic i suppose.

    Do you think this is an inherent problem of running RoR apps using Apache FCGI in dynamic mode? Would a lighttpd server help?