Hi Guys,
After trying to come up with a solution for a problem whose solution existed all that while, i wish to ask why its not really a default in the first place?
Often, mongrels on our server crash (we're looking into those problems by the way), but they dont clean up pids files on their way out. I can understand why that would happen, no worries.
But on restart, restart/start commands usually complain that pid files remain behind unless you provide the --clean option in which case it has the best possible outcome, which is, checks if the process mentioned in the pid is running and then does nothing or if the process is not running, cleans the pid file. Wonderful! Why is this -- clean command not the default in mongrel_cluster and mongrel_rails?
Just wondering!
Cheers, Aditya