hello
i am using the same exact setup for one of my rails app (sprinj.com) about the fcgi ending prematurely, i added these lines in dispatch.fcgi
require ‘fcgi_handler’ class RailsFCGIHandler private def frao_handler(signal) dispatcher_log :info, “asked to terminate immediately” dispatcher_log :info, “frao handler will be restarted” restart_handler(signal)
end alias_method :exit_now_handler, :frao_handler end RailsFCGIHandler.process!
now whenever it stops, it restarts automatically.
also i dont know why you have SetEnv RAILS_ENV development in vhost.conf, shouldn t that be in environement.rb?