<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>andr3w.net &#187; nginx</title>
	<atom:link href="http://andr3w.net/tag/nginx/feed/" rel="self" type="application/rss+xml" />
	<link>http://andr3w.net</link>
	<description>amateur web development...</description>
	<lastBuildDate>Fri, 19 Mar 2010 17:34:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>mod_rails &amp;&amp; apache &#124;&#124; mongrel &amp;&amp; nginx</title>
		<link>http://andr3w.net/2009/04/mod_rails-apache-mongrel-nginx/</link>
		<comments>http://andr3w.net/2009/04/mod_rails-apache-mongrel-nginx/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 18:30:01 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mod_rails]]></category>
		<category><![CDATA[mongrel]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=97</guid>
		<description><![CDATA[Switch&#8230;
That&#8217;s all I have to say. Passenger/mod_rails is so much faster and more competent at serving my crappy RoR code than my hacked together mongrel/nginx scheme that I had before. 
My ram usage spikes much more when visitors hit the site, but never starts swapping. The increased ram usage is more than worth it for [...]]]></description>
			<content:encoded><![CDATA[<p>Switch&#8230;</p>
<p>That&#8217;s all I have to say. Passenger/mod_rails is so much faster and more competent at serving my crappy RoR code than my hacked together mongrel/nginx scheme that I had before. </p>
<p>My ram usage spikes much more when visitors hit the site, but never starts swapping. The increased ram usage is more than worth it for the HUGELY increased speed that I&#8217;m seeing by the dynamic mongrel management. </p>
<p>Even better, when the visitors leave (as often happens), the ram usage settles down to the same place it did with my nginx and mongrel combo.</p>
<p>Enjoy the increased speed and stability <a href="http://amdavidson.com">AMDavidson.com</a> visitors.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/04/mod_rails-apache-mongrel-nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gem issues with Passenger</title>
		<link>http://andr3w.net/2009/03/gem-issues-with-passenger/</link>
		<comments>http://andr3w.net/2009/03/gem-issues-with-passenger/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 21:25:32 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mod_rails]]></category>
		<category><![CDATA[mongrel]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=82</guid>
		<description><![CDATA[I was ignorantly happily letting my gems be pulled in automatically on my previous server using Nginx + Mongrel_Cluster and this seemed to pose no problems.
BUT! when I switched to a new host, I went with an Apache + Passenger (mod_rails) setup and my servers would start but would just offer &#8220;Error 500&#8243;.
I checked the [...]]]></description>
			<content:encoded><![CDATA[<p>I was <span style="text-decoration: line-through;">ignorantly</span> happily letting my gems be pulled in automatically on my previous server using Nginx + Mongrel_Cluster and this seemed to pose no problems.</p>
<p>BUT! when I switched to a new host, I went with an Apache + Passenger (<a title="Mod_Rails" href="http://www.modrails.com/">mod_rails</a>) setup and my servers would start but would just offer &#8220;Error 500&#8243;.</p>
<p>I checked the logs and it seemed that it wasn&#8217;t loading <a title="RedCloth" href="http://redcloth.org">RedCloth</a> so I added the following to my environment.rb file and it all worked fine!</p>
<div class="codecolorer-container ruby default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#008000; font-style:italic;"># config/environment.rb</span><br />
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'rubygems'</span><br />
<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'redcloth'</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/03/gem-issues-with-passenger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
