[Mongrel] deleting pid files on ubuntu restart due to power down

Rafael G. rgo at aspgems.com
Wed Jul 2 10:42:14 EDT 2008

New mongrel's versions has the parameter "--clean". It do the work :)

Jags Rao escribió:
> hi guys
> we are running a ubuntu machine as our demo server for serving Ruby on
> rails apps
> we are using mysql,nginx,mongrel for serving the sites.
> the problem is if for any reason the power fails out and comes back
> mysql and nginx get started fine but mongrel does not work due to
> some pid(mongrel.8000.pid  mongrel.8001.pid  mongrel.8002.pid) files
> existing in log folder.
> we then manually delete the files and start the cluster.
> is there anyway we can check during reboot of ubuntu server for any
> existing pid
> files in log folder and delete them and then start the mongrel cluster.
> thanks
> jags

Rafael Garcia Ortega

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rgo.vcf
Type: text/x-vcard
Size: 241 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/mongrel-users/attachments/20080702/721da516/attachment-0001.vcf>

More information about the Mongrel-users mailing list