ROR Production issue

Currently I am not getting much traffic on my site, when I visit my site
after a long interval I get the dreaded “Rails application error” in
Mozilla/ “Internal server error” in IE.Once I click refresh then the
site
comes to life. My guess is this is due to the fact that all FCGI process
have died and there are no active listeners.

Has anyone else experienced this issue. How does one ensure that there
is
always a FCGI process running in the background.

LG

I had an issue where the mysql connection would go stale. I had to
setup an exception handler that reset the mysql connection when the
exception occurred. It wasn’t a pretty solution but it worked.