Sunday, March 05, 2006

Stupid dead site

This drives me nuts. Every so often when I restart Ruby on Rails (running on FastCGI), it just says "screw you". I go to reload a page and it just hangs hard. No response at all. I look at the process list and it isn't even starting new processes to handle the request. So there is nothing to even debug on the Rails side. This goes on for exactly 10 minutes, and then it starts working. It even handles all the queued requests. Very frustrating.

I'm sure restarting Apache would fix it but I'm fairly sure my hosting company wouldn't go for that.

Edit: And I forgot to mention the even more annoying part. Sometimes when it comes back up, it comes up half-broken. You get errors that are normally impossible, that would only happen if the data structures were corrupted. They look exactly like real errors but there's no point to debugging them, because if you restart the process, they go away. Very unpleasant.

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?