<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Monit makes Mongrel play nice!</title>
	<atom:link href="http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/</link>
	<description>A goal is a dream with a deadline.</description>
	<pubDate>Fri, 29 Aug 2008 04:28:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: D. Rothlisberger</title>
		<link>http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/#comment-105345</link>
		<dc:creator>D. Rothlisberger</dc:creator>
		<pubDate>Mon, 07 Jul 2008 14:48:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2006/11/07/monit-makes-mongrel-play-nice/#comment-105345</guid>
		<description>If you are trying to configure monit to start your mongrels and it simply won't (with no complaints from monit) check your mongrel logs.

I had to set my monit config's start line to something like this:
&lt;code&gt;start = "/usr/bin/env PATH=$PATH:/usr/local/bin HOME=/home/user /usr/local/bin/mongrel_rails cluster::start -C /home/user/path/to/app/config/mongrel_cluster.yml --only 8000"&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>If you are trying to configure monit to start your mongrels and it simply won&#8217;t (with no complaints from monit) check your mongrel logs.</p>
<p>I had to set my monit config&#8217;s start line to something like this:<br />
<code>start = "/usr/bin/env PATH=$PATH:/usr/local/bin HOME=/home/user /usr/local/bin/mongrel_rails cluster::start -C /home/user/path/to/app/config/mongrel_cluster.yml --only 8000"</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francois</title>
		<link>http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/#comment-102233</link>
		<dc:creator>Francois</dc:creator>
		<pubDate>Tue, 25 Mar 2008 19:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2006/11/07/monit-makes-mongrel-play-nice/#comment-102233</guid>
		<description>Thanks for the great info. This setup wouldn't work for me on FreeBSD 6.x unless I add this line to /usr/local/bin/mongrel_rails

ENV['PATH'] = "#{ENV['PATH']}:/usr/local/bin";</description>
		<content:encoded><![CDATA[<p>Thanks for the great info. This setup wouldn&#8217;t work for me on FreeBSD 6.x unless I add this line to /usr/local/bin/mongrel_rails</p>
<p>ENV['PATH'] = &#8220;#{ENV['PATH']}:/usr/local/bin&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Egg</title>
		<link>http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/#comment-86711</link>
		<dc:creator>Alex Egg</dc:creator>
		<pubDate>Wed, 14 Nov 2007 22:57:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2006/11/07/monit-makes-mongrel-play-nice/#comment-86711</guid>
		<description>You should really check out god -- much nicer and tailored for rails.

http://god.rubyforge.org/</description>
		<content:encoded><![CDATA[<p>You should really check out god &#8212; much nicer and tailored for rails.</p>
<p><a href="http://god.rubyforge.org/" rel="nofollow">http://god.rubyforge.org/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Grigorik</title>
		<link>http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/#comment-77426</link>
		<dc:creator>Ilya Grigorik</dc:creator>
		<pubDate>Tue, 23 Oct 2007 04:13:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2006/11/07/monit-makes-mongrel-play-nice/#comment-77426</guid>
		<description>Jesse, thanks for the clarification. Unfortunately the link appears to be broken - hopefully it'll come back!</description>
		<content:encoded><![CDATA[<p>Jesse, thanks for the clarification. Unfortunately the link appears to be broken - hopefully it&#8217;ll come back!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Andrews</title>
		<link>http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/#comment-75815</link>
		<dc:creator>Jesse Andrews</dc:creator>
		<pubDate>Wed, 17 Oct 2007 00:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2006/11/07/monit-makes-mongrel-play-nice/#comment-75815</guid>
		<description>Billy/Ilya - to restart mongrels via capistrano without monit thinking something bad is happening and it relaunching them you need to restart them via monit:


    monit -g (group name here) restart all


&lt;a href="http://www.almostserio.us/articles/2007/10/08/monit-and-capistrano" rel="nofollow"&gt;an example via cap 2&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Billy/Ilya - to restart mongrels via capistrano without monit thinking something bad is happening and it relaunching them you need to restart them via monit:</p>
<p>    monit -g (group name here) restart all</p>
<p><a href="http://www.almostserio.us/articles/2007/10/08/monit-and-capistrano" rel="nofollow">an example via cap 2</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Grigorik</title>
		<link>http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/#comment-75425</link>
		<dc:creator>Ilya Grigorik</dc:creator>
		<pubDate>Sun, 14 Oct 2007 04:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2006/11/07/monit-makes-mongrel-play-nice/#comment-75425</guid>
		<description>Billy, that's really odd behavior. I have a similar setup and I've never experienced this problem. Are you using latest distribution of monit? Another solution would be to execute a stop all and then 'monit quit'. Once you're done with deploying new code, just bring up monit once again.</description>
		<content:encoded><![CDATA[<p>Billy, that&#8217;s really odd behavior. I have a similar setup and I&#8217;ve never experienced this problem. Are you using latest distribution of monit? Another solution would be to execute a stop all and then &#8216;monit quit&#8217;. Once you&#8217;re done with deploying new code, just bring up monit once again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/#comment-75055</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Fri, 12 Oct 2007 02:52:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2006/11/07/monit-makes-mongrel-play-nice/#comment-75055</guid>
		<description>We are having problems when we use capistrano to deploy. We execute a monit stop all before we update the code through SVN, but even when doing monit stop all, monit tries to restart the processes automatically. We could tell it to unmonitor all before we deploy but then we wouldn't get notices if for some reason the deployment failed and our mongrels didn't come back up. Have you encountered this problem yourself and if so, how did you get around it ? Great article, btw :)</description>
		<content:encoded><![CDATA[<p>We are having problems when we use capistrano to deploy. We execute a monit stop all before we update the code through SVN, but even when doing monit stop all, monit tries to restart the processes automatically. We could tell it to unmonitor all before we deploy but then we wouldn&#8217;t get notices if for some reason the deployment failed and our mongrels didn&#8217;t come back up. Have you encountered this problem yourself and if so, how did you get around it ? Great article, btw :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/#comment-71868</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 25 Sep 2007 20:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2006/11/07/monit-makes-mongrel-play-nice/#comment-71868</guid>
		<description>Chetan,

Did you abandon using the cluster?  I was getting the same results as you:

&lt;code&gt;$ sudo monit start mongrel_8050
'mongrel_8050' start: /usr/bin/mongrel_rails
'mongrel_8050' failed to start
starting port 8050&lt;/code&gt;

When using the following start program = "/usr/bin/mongrel_rails cluster::start -C  /etc/mongrel_cluster/my.conf --clean --only 8050"</description>
		<content:encoded><![CDATA[<p>Chetan,</p>
<p>Did you abandon using the cluster?  I was getting the same results as you:</p>
<p><code>$ sudo monit start mongrel_8050<br />
'mongrel_8050' start: /usr/bin/mongrel_rails<br />
'mongrel_8050' failed to start<br />
starting port 8050</code></p>
<p>When using the following start program = &#8220;/usr/bin/mongrel_rails cluster::start -C  /etc/mongrel_cluster/my.conf &#8211;clean &#8211;only 8050&#8243;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chetan</title>
		<link>http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/#comment-71406</link>
		<dc:creator>chetan</dc:creator>
		<pubDate>Mon, 24 Sep 2007 05:23:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2006/11/07/monit-makes-mongrel-play-nice/#comment-71406</guid>
		<description>thank lots team  we got it !!!!!!!!!!!!!!</description>
		<content:encoded><![CDATA[<p>thank lots team  we got it !!!!!!!!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Grigorik</title>
		<link>http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/#comment-71066</link>
		<dc:creator>Ilya Grigorik</dc:creator>
		<pubDate>Sat, 22 Sep 2007 21:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.igvita.com/blog/2006/11/07/monit-makes-mongrel-play-nice/#comment-71066</guid>
		<description>Chetan, mongrel_cluster does not write any PID files since it controls the entire cluster. Hence, all subsequent checks will fail. Instead of using mongrel_cluster, start each mongrel instance individually (use the line provided in my previous reply).</description>
		<content:encoded><![CDATA[<p>Chetan, mongrel_cluster does not write any PID files since it controls the entire cluster. Hence, all subsequent checks will fail. Instead of using mongrel_cluster, start each mongrel instance individually (use the line provided in my previous reply).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
