<?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; apache</title>
	<atom:link href="http://andr3w.net/tag/apache/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>Length Errors in Apache Bench</title>
		<link>http://andr3w.net/2009/05/length-errors-in-apache-bench/</link>
		<comments>http://andr3w.net/2009/05/length-errors-in-apache-bench/#comments</comments>
		<pubDate>Mon, 04 May 2009 22:42:02 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[system]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[benchmarking]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://andr3w.net/?p=126</guid>
		<description><![CDATA[Are you seeing errors for content length in your Apache Bench tests of your webserver?
I had a hell of a time wondering what was going wrong with my webserver under load and finally found the answer here.
Turns out that Apache Bench takes the first pulled request and compares the length to all subsequent requests. Makes [...]]]></description>
			<content:encoded><![CDATA[<p>Are you seeing errors for content length in your <a href="http://httpd.apache.org/docs/2.0/programs/ab.html">Apache Bench</a> tests of your webserver?</p>
<p>I had a hell of a time wondering what was going wrong with my webserver under load and finally found the answer <a href="http://markmail.org/message/6zsvfw67rjy7hu4x#query:apachebench%20requests%20fail%20length+page:1+mid:b7wzpg43n3eiicu5+state:results">here</a>.</p>
<p>Turns out that Apache Bench takes the first pulled request and compares the length to all subsequent requests. Makes sense for a purely static page, but when you have a random image cropping up, you&#8217;re sure to see at least a couple bits difference in length.</p>
<p>So if you&#8217;re serving straight, hand coded HTML, enjoy the feeling of knowing that you&#8217;re getting the same length content each and every time&#8230; but if you&#8217;re like the rest of us (and anyone who would actually be using Apache Bench) feel free to rage that there&#8217;s no <a href="http://httpd.apache.org/docs/2.0/programs/ab.html#options">command line switch</a> to turn off that silly notification.</p>
]]></content:encoded>
			<wfw:commentRss>http://andr3w.net/2009/05/length-errors-in-apache-bench/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
