Keeping it up (Your Rails App that is)
Posted by Rick DeNatale Thu, 02 Aug 2007 16:23:00 GMT
I live in the fastest growing corner of one of the fastest growing counties in the US. Lately that has seemed to come with more than my share of power interruptions.
This blog is hosted on a ‘server’ in my home office, which also hosts several other things, some for internal use, and others, like talklikeaduck are public facing. Besides this blog I have a wikimedia based site on the technical history of Project Mercury, a personal interest of mine.
One of my frustrations of late has been the fact that the blog doesn’t suffer those power interruptions well. For deployment, I’m using a combination of Apache 2.0, with pen for load balancing, and mongrel_cluster. That last has been the main source of that minor annoyance. The version of mongrel_cluster I’ve been using doesn’t properly deal with stale pid files, so that when the system reboots after a power outage, the blog doesn’t come back without manual intervention.
My frustration level finally rose to the point where I started to look for a solution.
Read more...








