I&#39;ve had success with Eden Li&#39;s patch here: <a href="http://rubyforge.org/tracker/index.php?func=detail&amp;aid=15427&amp;group_id=1306&amp;atid=5147">http://rubyforge.org/tracker/index.php?func=detail&amp;aid=15427&amp;group_id=1306&amp;atid=5147</a>. Been using it in several production deploys for about 2 months.<br>
<br>If you&#39;re interested (and too lazy to apply the patch yourself) you can take a look at my fork of mongrel that has mongrel_cluster doing rolling restarts here:<br>&nbsp; <a href="http://github.com/chuyeow/mongrel/commits/stable_1-1">http://github.com/chuyeow/mongrel/commits/stable_1-1</a><br>
<br>You need to clone the repos, go into the projects/mongrel_cluster directory, and run a rake task to package the gem.<br><br>Cheers,<br>Chu Yeow<br><br><br><div class="gmail_quote">On Wed, Feb 4, 2009 at 8:58 AM, Elliott Blatt <span dir="ltr">&lt;<a href="mailto:elliott@hitfix.com">elliott@hitfix.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br><br>I&#39;ve been trying (unsuccessfully) to hack my mongrel_cluster to re-ststart in an alternating manner.<br>
<br>Specifically, this soluiton:&nbsp; <a href="http://blog.carlmercier.com/2007/09/07/a-better-approach-to-restarting-a-mongrel-cluster/#content" target="_blank">http://blog.carlmercier.com/2007/09/07/a-better-approach-to-restarting-a-mongrel-cluster/#content</a><br>

<br>Which means I an call to mongrel_rails cluster::restart to do this:<br><br>mongrel_rails start 8001<br>mongrel_rails stop 8001<br><br>mongrel_rails start 8002<br>
mongrel_rails stop 8002<br><br>mongrel_rails start 8003<br>
mongrel_rails stop 8003<br><br>mongrel_rails start 8004<br>
mongrel_rails stop 8004<br><br>Instead of:<br><br>mongrel_rails stop 8001<br>mongrel_rails stop 8002<br>mongrel_rails stop 8003<br>mongrel_rails stop 8004<br><br>[.....503....application offline.....]<br><br>mongrel_rails start 8001<br>


mongrel_rails start 8002<br>
mongrel_rails start 8003<br>
mongrel_rails start 8004<br><br>(yuck!)<br><br>It&#39;s has been very difficult for me&nbsp; to figure out where to install the hacked mongrel_cluster_ctl that&nbsp; Carl provides in his blog.<br>The execution path is not clear.<br>

<br>Would anyone be willing to give me some ideas?<br><br>Thank you,<br><font color="#888888">Elliott<br><br>
</font><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>