Ubuntu and debian mount /var/run/ directories using tmpfs, which means the /var/run directories are cleared out at boot time.&nbsp; That&#39;s why debian packages write out pid files into subdirectories of /var/run.&nbsp; You might be able to configure your mongrel so that the pid files are written under /var/run<br>
<br>--Brian<br><br><div class="gmail_quote">2008/7/2 Rafael G. &lt;<a href="mailto:rgo@aspgems.com">rgo@aspgems.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
New mongrel&#39;s versions has the parameter &quot;--clean&quot;. It do the work :)<br>
<br>
Jags Rao escribió:<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi guys<br>
<br>
we are running a ubuntu machine as our demo server for serving Ruby on<br>
rails apps<br>
we are using mysql,nginx,mongrel for serving the sites.<br>
<br>
the problem is if for any reason the power fails out and comes back<br>
mysql and nginx get started fine but mongrel does not work due to<br>
some pid(mongrel.8000.pid &nbsp;mongrel.8001.pid &nbsp;mongrel.8002.pid) files<br>
existing in log folder.<br>
<br>
we then manually delete the files and start the cluster.<br>
<br>
is there anyway we can check during reboot of ubuntu server for any<br>
existing pid<br>
files in log folder and delete them and then start the mongrel cluster.<br>
<br>
thanks<br>
jags<br>
 &nbsp;<br>
</blockquote>
<br>
<br>
-- <br></div>
Rafael Garcia Ortega<br>
<br>
<br>_______________________________________________<br>
Mongrel-users mailing list<br>
<a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/mongrel-users" target="_blank">http://rubyforge.org/mailman/listinfo/mongrel-users</a><br></blockquote></div><br>