<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Dreamhost Rails FCGI Woes</title>
	<atom:link href="http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/feed/" rel="self" type="application/rss+xml" />
	<link>http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/</link>
	<description>John Nunemaker\'s thoughts and such</description>
	<lastBuildDate>Sun, 01 Nov 2009 17:19:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tim Connor</title>
		<link>http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/comment-page-1/#comment-69349</link>
		<dc:creator>Tim Connor</dc:creator>
		<pubDate>Tue, 10 Apr 2007 17:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/#comment-69349</guid>
		<description>Thanks, this helps a lot.  

I emailed DH and they confirmed this exact thing, for me (check my page for the short details).</description>
		<content:encoded><![CDATA[<p>Thanks, this helps a lot.  </p>
<p>I emailed DH and they confirmed this exact thing, for me (check my page for the short details).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/comment-page-1/#comment-67486</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Wed, 28 Mar 2007 05:22:08 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/#comment-67486</guid>
		<description>James/John, Would you mind sharing any resources you know of for using Capistrano to deploy multiple rails sites on a single DH account?

Thanks,
Sean</description>
		<content:encoded><![CDATA[<p>James/John, Would you mind sharing any resources you know of for using Capistrano to deploy multiple rails sites on a single DH account?</p>
<p>Thanks,<br />
Sean</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Nunemaker</title>
		<link>http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/comment-page-1/#comment-60760</link>
		<dc:creator>John Nunemaker</dc:creator>
		<pubDate>Fri, 23 Feb 2007 04:29:33 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/#comment-60760</guid>
		<description>Thanks to &lt;a href=&quot;http://gabrito.com/post/keeping-ruby-on-rails-running-at-dreamhost&quot; rel=&quot;nofollow&quot;&gt;these&lt;/a&gt; &lt;a href=&quot;http://gabrito.com/post/keeping-rails-running-at-dreamhost-part-2&quot; rel=&quot;nofollow&quot;&gt;two&lt;/a&gt; articles, my apps have been purring like kittens with mild traffic. Check them out and try them in addition to the tip I mentioned above. Also, be sure to use capistrano for deployment.</description>
		<content:encoded><![CDATA[<p>Thanks to <a href="http://gabrito.com/post/keeping-ruby-on-rails-running-at-dreamhost" rel="nofollow">these</a> <a href="http://gabrito.com/post/keeping-rails-running-at-dreamhost-part-2" rel="nofollow">two</a> articles, my apps have been purring like kittens with mild traffic. Check them out and try them in addition to the tip I mentioned above. Also, be sure to use capistrano for deployment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Georg Ledermann</title>
		<link>http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/comment-page-1/#comment-60713</link>
		<dc:creator>Georg Ledermann</dc:creator>
		<pubDate>Thu, 22 Feb 2007 20:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/#comment-60713</guid>
		<description>I was very disappointed with the performance of DreamHost. It was too slow, even if only one user (me) was only and only one rails application was installed.

I switched to hostingrails.com and now my rails application is running like a champ. In addition, hostingrails.com supports not only FCGI, but Mongrel as webserver. And pricing is nearly the same like DreamHost.</description>
		<content:encoded><![CDATA[<p>I was very disappointed with the performance of DreamHost. It was too slow, even if only one user (me) was only and only one rails application was installed.</p>
<p>I switched to hostingrails.com and now my rails application is running like a champ. In addition, hostingrails.com supports not only FCGI, but Mongrel as webserver. And pricing is nearly the same like DreamHost.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RSL</title>
		<link>http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/comment-page-1/#comment-41413</link>
		<dc:creator>RSL</dc:creator>
		<pubDate>Wed, 20 Dec 2006 21:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/#comment-41413</guid>
		<description>I can&#039;t believe no one&#039;s come across this information before. Awesome. As a DH customer myself I did notice that the shell account that runs a couple of Rails apps ran a lot slower than the one where I was just testing out new code. I proudly thought that it was my much improved coding skills [which I&#039;m still gonna chalk it up to] but now I know there may be other circumstances. Great post!</description>
		<content:encoded><![CDATA[<p>I can&#8217;t believe no one&#8217;s come across this information before. Awesome. As a DH customer myself I did notice that the shell account that runs a couple of Rails apps ran a lot slower than the one where I was just testing out new code. I proudly thought that it was my much improved coding skills [which I'm still gonna chalk it up to] but now I know there may be other circumstances. Great post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Nunemaker</title>
		<link>http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/comment-page-1/#comment-17526</link>
		<dc:creator>John Nunemaker</dc:creator>
		<pubDate>Fri, 08 Dec 2006 21:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/#comment-17526</guid>
		<description>@James - Excellent tip. I noticed this happening but hadn&#039;t actually processed what was happening. Makes sense now.</description>
		<content:encoded><![CDATA[<p>@James &#8211; Excellent tip. I noticed this happening but hadn&#8217;t actually processed what was happening. Makes sense now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Higginbotham</title>
		<link>http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/comment-page-1/#comment-17525</link>
		<dc:creator>James Higginbotham</dc:creator>
		<pubDate>Fri, 08 Dec 2006 21:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/#comment-17525</guid>
		<description>Another tip from a fellow Dreamhost + Rails customer: separate user names are essential when you need to push out new versions of an app. I use Capistrano to deploy and part of its process is to reap old FCGI processes so that the changes take effect. If you run multiple applications as a single user, all of those applications will be impacted, causing them all to have to spin up again. 

I found this out when I deployed to a staging site with the same username, only to find out that my production FCGI processes were getting reaped as well. I quickly moved my staging server to a separate username and I can now deploy to staging as often as I want without disrupting the production version.</description>
		<content:encoded><![CDATA[<p>Another tip from a fellow Dreamhost + Rails customer: separate user names are essential when you need to push out new versions of an app. I use Capistrano to deploy and part of its process is to reap old FCGI processes so that the changes take effect. If you run multiple applications as a single user, all of those applications will be impacted, causing them all to have to spin up again. </p>
<p>I found this out when I deployed to a staging site with the same username, only to find out that my production FCGI processes were getting reaped as well. I quickly moved my staging server to a separate username and I can now deploy to staging as often as I want without disrupting the production version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Nunemaker</title>
		<link>http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/comment-page-1/#comment-16714</link>
		<dc:creator>John Nunemaker</dc:creator>
		<pubDate>Fri, 08 Dec 2006 01:07:54 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/#comment-16714</guid>
		<description>Yes, one username per domain. I wouldn&#039;t run more than 3 or 4 low traffic rails apps on one username. It doesn&#039;t matter if it&#039;s domain or subdomain, what matters is the number of apps  per user. I typically create a new user, password and host for each database. 

There are some other keys to keeping them running nice such as capistrano for deployment but the main thing I have run into is the memory cap for an individual user.

As far as what it takes to move a site to the new user, you just have to switch it in the dreamhost control panel and then redeploy the files. If you are using capistrano, this only takes a few setting changes. I can switch a capistrano deployed app in about five minutes once all the dreamhost settings update.

If you change users, be sure to change your svn username to the same as the new unix username. In my experience cap on dreamhost runs smoother with svn and unix usernames and passwords that are the same (makes for less configuration).</description>
		<content:encoded><![CDATA[<p>Yes, one username per domain. I wouldn&#8217;t run more than 3 or 4 low traffic rails apps on one username. It doesn&#8217;t matter if it&#8217;s domain or subdomain, what matters is the number of apps  per user. I typically create a new user, password and host for each database. </p>
<p>There are some other keys to keeping them running nice such as capistrano for deployment but the main thing I have run into is the memory cap for an individual user.</p>
<p>As far as what it takes to move a site to the new user, you just have to switch it in the dreamhost control panel and then redeploy the files. If you are using capistrano, this only takes a few setting changes. I can switch a capistrano deployed app in about five minutes once all the dreamhost settings update.</p>
<p>If you change users, be sure to change your svn username to the same as the new unix username. In my experience cap on dreamhost runs smoother with svn and unix usernames and passwords that are the same (makes for less configuration).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William H. Harle Jr.</title>
		<link>http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/comment-page-1/#comment-16647</link>
		<dc:creator>William H. Harle Jr.</dc:creator>
		<pubDate>Thu, 07 Dec 2006 23:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/#comment-16647</guid>
		<description>I&#039;m hoping this is why my dreamhost ror programs are running so strangely. So is the key making different usernames for each domain/subdomain or for each database? And do you have to do anything past changing the username to change the application over and get it running smoothly? Thanks John!</description>
		<content:encoded><![CDATA[<p>I&#8217;m hoping this is why my dreamhost ror programs are running so strangely. So is the key making different usernames for each domain/subdomain or for each database? And do you have to do anything past changing the username to change the application over and get it running smoothly? Thanks John!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Nunemaker</title>
		<link>http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/comment-page-1/#comment-16430</link>
		<dc:creator>John Nunemaker</dc:creator>
		<pubDate>Thu, 07 Dec 2006 21:24:16 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/#comment-16430</guid>
		<description>I don&#039;t actually know what the limit is and support didn&#039;t tell me unfortunately. The issue with media temple&#039;s grid servers is that you can&#039;t host very many rails apps unless you bump up your rails container. A 1GB container is an additional $70/month on top of the normal grid price which means you are probably better off getting a VPS or something dedicated. If you are in it for Rails and you need something pretty reliable, your best bet is probably a VPS from &lt;a href=&quot;http://www.slicehost.com/&quot; rel=&quot;nofollow&quot;&gt;slicehost&lt;/a&gt; or something.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t actually know what the limit is and support didn&#8217;t tell me unfortunately. The issue with media temple&#8217;s grid servers is that you can&#8217;t host very many rails apps unless you bump up your rails container. A 1GB container is an additional $70/month on top of the normal grid price which means you are probably better off getting a VPS or something dedicated. If you are in it for Rails and you need something pretty reliable, your best bet is probably a VPS from <a href="http://www.slicehost.com/" rel="nofollow">slicehost</a> or something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clint Pidlubny</title>
		<link>http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/comment-page-1/#comment-16166</link>
		<dc:creator>Clint Pidlubny</dc:creator>
		<pubDate>Thu, 07 Dec 2006 17:47:40 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/archives/188/dreamhost-rails-fcgi-woes/#comment-16166</guid>
		<description>That is really good to know John. Excellent tip. I&#039;ve been considering a move to Media Temple. http://www.mediatemple.net/webhosting/gs/details.htm

What is the memory limit on FCGI processes anyway?</description>
		<content:encoded><![CDATA[<p>That is really good to know John. Excellent tip. I&#8217;ve been considering a move to Media Temple. <a href="http://www.mediatemple.net/webhosting/gs/details.htm" rel="nofollow">http://www.mediatemple.net/webhosting/gs/details.htm</a></p>
<p>What is the memory limit on FCGI processes anyway?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

