<?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: Ruby on Rails Dreamhost plugin</title>
	<atom:link href="http://gabrito.com/post/ruby-on-rails-dreamhost-plugin/feed" rel="self" type="application/rss+xml" />
	<link>http://gabrito.com/post/ruby-on-rails-dreamhost-plugin</link>
	<description>Anecdotes on Java, Ruby, Sysadmin, SEO, Design, and Management</description>
	<pubDate>Wed, 08 Oct 2008 11:02:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Marc</title>
		<link>http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-29578</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Thu, 12 Apr 2007 00:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-29578</guid>
		<description>Like everyone else that reads this far, I'm using the frao_handler approach on one of the Dreamhost sites I'm developing, and there are still far too many 500's.  I'm wary of the plugin though, because my team develops and deploys using Capistrano, which would make it difficult to keep the plugin off of the dev machines.  Would making the code changes directly in dispatch.fcgi (as described before the plugin came out) work?  Any advice at all would be appreciated.</description>
		<content:encoded><![CDATA[<p>Like everyone else that reads this far, I&#8217;m using the frao_handler approach on one of the Dreamhost sites I&#8217;m developing, and there are still far too many 500&#8217;s.  I&#8217;m wary of the plugin though, because my team develops and deploys using Capistrano, which would make it difficult to keep the plugin off of the dev machines.  Would making the code changes directly in dispatch.fcgi (as described before the plugin came out) work?  Any advice at all would be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: why</title>
		<link>http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-29162</link>
		<dc:creator>why</dc:creator>
		<pubDate>Sun, 08 Apr 2007 04:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-29162</guid>
		<description>Dude - If you look at this comment:

With the plugin installed, the dispatch.fcgi will defer exiting when Dreamhost sends your dispatch.fcgi process a TERM signal if it is in the middle of handling a request, otherwise it behaves normally.

You'll see that it *is* being a good neighbor, but AFTER it finished the request, just not in the middle of it.  (Assuming of course the code ACTUALLY does what this comment says, I haven't had any 500's yet, but I could be back).</description>
		<content:encoded><![CDATA[<p>Dude - If you look at this comment:</p>
<p>With the plugin installed, the dispatch.fcgi will defer exiting when Dreamhost sends your dispatch.fcgi process a TERM signal if it is in the middle of handling a request, otherwise it behaves normally.</p>
<p>You&#8217;ll see that it *is* being a good neighbor, but AFTER it finished the request, just not in the middle of it.  (Assuming of course the code ACTUALLY does what this comment says, I haven&#8217;t had any 500&#8217;s yet, but I could be back).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: observer</title>
		<link>http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-28328</link>
		<dc:creator>observer</dc:creator>
		<pubDate>Sun, 01 Apr 2007 19:54:43 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-28328</guid>
		<description>and you guys complain about the performance of dreamhost servers?  Think about it for a minute -- if everyone did this...  good way to get your account suspended if support found out about it....</description>
		<content:encoded><![CDATA[<p>and you guys complain about the performance of dreamhost servers?  Think about it for a minute &#8212; if everyone did this&#8230;  good way to get your account suspended if support found out about it&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bjhess</title>
		<link>http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-25151</link>
		<dc:creator>bjhess</dc:creator>
		<pubDate>Mon, 05 Mar 2007 03:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-25151</guid>
		<description>Yeah, I think the easiest solution will be to keep the plugin off the local machine, too.  Thanks for the follow up!</description>
		<content:encoded><![CDATA[<p>Yeah, I think the easiest solution will be to keep the plugin off the local machine, too.  Thanks for the follow up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel</title>
		<link>http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-25074</link>
		<dc:creator>Manuel</dc:creator>
		<pubDate>Sun, 04 Mar 2007 13:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-25074</guid>
		<description>bjhess: i had the same problem, you need to delete this plugin on your windows local installation, that is because it uses fcgi.

I tried to install fcgi (gem install fcgi) but it was unsuccessful.

I didn't know if there is some version of ruby-fcgi for windows available</description>
		<content:encoded><![CDATA[<p>bjhess: i had the same problem, you need to delete this plugin on your windows local installation, that is because it uses fcgi.</p>
<p>I tried to install fcgi (gem install fcgi) but it was unsuccessful.</p>
<p>I didn&#8217;t know if there is some version of ruby-fcgi for windows available</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bjhess</title>
		<link>http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-24704</link>
		<dc:creator>bjhess</dc:creator>
		<pubDate>Wed, 28 Feb 2007 21:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-24704</guid>
		<description>I included this in my app, which I'm deploying to Dreamhost.  The app is running fine on Dreamhost with the plugin.  Unfortunately I cannot run it locally on Mongrel or WEBrick anymore.  I receive the following error:

&lt;code&gt;
=&#62; Booting Mongrel (use 'script/server webrick' to force WEBrick)
=&#62; Rails application starting on http://0.0.0.0:3000
=&#62; Call with -d to detach
=&#62; Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/commands/servers/mongrel.rb:15: warning: already initialized constant OPTIONS
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/commands/servers/mongrel.rb:18: undefined method `options' for []:Array (NoMethodError)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:495:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:342:in `new_constants_in'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:495:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/commands/server.rb:39
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:495:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:342:in `new_constants_in'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:495:in `require'
        from script/server:3
&lt;/code&gt;

Any help?</description>
		<content:encoded><![CDATA[<p>I included this in my app, which I&#8217;m deploying to Dreamhost.  The app is running fine on Dreamhost with the plugin.  Unfortunately I cannot run it locally on Mongrel or WEBrick anymore.  I receive the following error:</p>
<p><code><br />
=&gt; Booting Mongrel (use 'script/server webrick' to force WEBrick)<br />
=&gt; Rails application starting on <a href="http://0.0.0.0:3000" rel="nofollow">http://0.0.0.0:3000</a><br />
=&gt; Call with -d to detach<br />
=&gt; Ctrl-C to shutdown server<br />
** Starting Mongrel listening at 0.0.0.0:3000<br />
** Starting Rails with development environment&#8230;<br />
Exiting<br />
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/commands/servers/mongrel.rb:15: warning: already initialized constant OPTIONS<br />
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/commands/servers/mongrel.rb:18: undefined method `options&#8217; for []:Array (NoMethodError)<br />
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `gem_original_require&#8217;<br />
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `require&#8217;<br />
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:495:in `require&#8217;<br />
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:342:in `new_constants_in&#8217;<br />
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:495:in `require&#8217;<br />
        from /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/commands/server.rb:39<br />
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require&#8217;<br />
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require&#8217;<br />
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:495:in `require&#8217;<br />
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:342:in `new_constants_in&#8217;<br />
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:495:in `require&#8217;<br />
        from script/server:3<br />
</code></p>
<p>Any help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rails Deployment &#187; Blog Archive &#187; Dreamhost Deployment</title>
		<link>http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-23507</link>
		<dc:creator>Rails Deployment &#187; Blog Archive &#187; Dreamhost Deployment</dc:creator>
		<pubDate>Thu, 15 Feb 2007 21:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-23507</guid>
		<description>[...] Ruby on Rails Dreamhost Plugin [...]</description>
		<content:encoded><![CDATA[<p>[...] Ruby on Rails Dreamhost Plugin [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Lunde</title>
		<link>http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-23406</link>
		<dc:creator>Daniel Lunde</dc:creator>
		<pubDate>Wed, 14 Feb 2007 19:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-23406</guid>
		<description>Is there any recommendations for reducing memory usage of a rails app?

I'm having a problem with dreamhost killing my processes for running over the memory limit.  My app has 19 controllers with 19 helpers and 20 models.  I have 7 plugins too.  I could remove 1 controller and model since I recently refactored and removed it's need.

I am also running edge rails instead of gems since I was developing a RESTful app, but now that 1.2.x is out I don't need to.  Although running "gem list" on dreamhost still states 1.1.6 as the latest gem installed.  Would using gems (maybe compiled in my user account folder) reduce memory usage?</description>
		<content:encoded><![CDATA[<p>Is there any recommendations for reducing memory usage of a rails app?</p>
<p>I&#8217;m having a problem with dreamhost killing my processes for running over the memory limit.  My app has 19 controllers with 19 helpers and 20 models.  I have 7 plugins too.  I could remove 1 controller and model since I recently refactored and removed it&#8217;s need.</p>
<p>I am also running edge rails instead of gems since I was developing a RESTful app, but now that 1.2.x is out I don&#8217;t need to.  Although running &#8220;gem list&#8221; on dreamhost still states 1.1.6 as the latest gem installed.  Would using gems (maybe compiled in my user account folder) reduce memory usage?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Lunde</title>
		<link>http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-23403</link>
		<dc:creator>Daniel Lunde</dc:creator>
		<pubDate>Wed, 14 Feb 2007 19:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-23403</guid>
		<description>I wrote a tiny script that I stuck in my dreamhost account and made executable.  This gives me a quick look at my memory usage, but hopefully will work for anyone.

## Begin script ##
#!/bin/sh

TOTAL=0
USER=`whoami &#124; cut -c 1-7`

for i in `ps auwx &#124; grep $USER &#124; awk '{ print $5 }'`
do
   let "TOTAL = TOTAL + $i"
done

let "TOTAL = TOTAL / 1024"

echo "Memory Usage is $TOTAL"

exit
## End script ##</description>
		<content:encoded><![CDATA[<p>I wrote a tiny script that I stuck in my dreamhost account and made executable.  This gives me a quick look at my memory usage, but hopefully will work for anyone.</p>
<p>## Begin script ##<br />
#!/bin/sh</p>
<p>TOTAL=0<br />
USER=`whoami | cut -c 1-7`</p>
<p>for i in `ps auwx | grep $USER | awk &#8216;{ print $5 }&#8217;`<br />
do<br />
   let &#8220;TOTAL = TOTAL + $i&#8221;<br />
done</p>
<p>let &#8220;TOTAL = TOTAL / 1024&#8243;</p>
<p>echo &#8220;Memory Usage is $TOTAL&#8221;</p>
<p>exit<br />
## End script ##</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flevour</title>
		<link>http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-23381</link>
		<dc:creator>flevour</dc:creator>
		<pubDate>Wed, 14 Feb 2007 15:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://gabrito.com/post/ruby-on-rails-dreamhost-plugin#comment-23381</guid>
		<description>Can't tell if it works yet, but surely it's a well-needed plugin! Thanks for contributing!</description>
		<content:encoded><![CDATA[<p>Can&#8217;t tell if it works yet, but surely it&#8217;s a well-needed plugin! Thanks for contributing!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
