Welcome Guest | Login

Missing mongrel.pid File

We've noticed that our mongrel.pid files are getting destroyed whenever our app forks a new process.  To get around stop/restart issues with mongrel_rails when mongrel is running but the mongrel.pid is missing we wrote a separate python script to start/stop/restart mongrel.  Our script is basically a wrapper around mongrel_rails but ensures mongrel.pid exists or gets recreated when necessary.  The script gets all required information from the @reboot mongrel cron entries, no configuration is needed and it can be run from anywhere on the account.

You can find it here -
http://hoptstudios.com/mongrel


ex. mongrel stop

2007-09-15 03:31 PM

Hello,

Thanks for the script. This will surely be helpful to a majority of our customers. Rock on..!!

2007-09-15 03:48 PM

Regards,
Rahul

Hello Guest! In order to post you must be an active client with us, please log in or sign up today!