<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="http://www.majordojo.com/projects/FeedManager/atom.xsl" type="text/xsl" media="screen"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://www.majordojo.com/2006/04/making-movable.php" />
  <link rel="self" type="application/atom+xml" href="http://www.majordojo.com/2006/04/making-movable.php" />
  <id>tag:www.majordojo.com,2010://3/tag:www.majordojo.com,2006://3.1135-</id>
  <updated>2010-02-26T09:30:37Z</updated>
  <title>Comments for Making Movable Type Scream</title>
  <subtitle>A blog about Movable Type, technology, geek-dom, science-fiction and yes, sometimes my personal life.</subtitle>
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.261</generator>
  <entry>
    <id>tag:www.majordojo.com,2006://3.1135</id>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2006/04/making-movable.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.majordojo.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=3/entry_id=1135" title="Making Movable Type Scream" />
    <published>2006-04-07T17:16:22Z</published>
    <updated>2007-01-15T22:33:42Z</updated>
    <title>Making Movable Type Scream</title>
    <summary>A recent thread on the ProNet mailing list about ways to reduce the overhead associated with high comment and TrackBack loads inspired me to do something I have been meaning to do for a while: install Fast CGI. Fast CGI...</summary>
    <author>
      <name>Byrne</name>
      <uri>http://www.majordojo.com/</uri>
    </author>
    
    <category term="Movable Type" />
    
    <content type="html" xml:lang="en" xml:base="http://www.majordojo.com/">
      <![CDATA[<p>A recent thread on the <a href="http://www.sixapart.com/pronet/">ProNet</a> <a href="http://www.sixapart.com/mailman/listinfo/pronet">mailing list</a> about ways to reduce the overhead associated with high comment and TrackBack loads inspired me to do something I have been meaning to do for a while: install Fast CGI. <a href="http://www.fastcgi.com/">Fast CGI</a> is a framework for hosting perl applications on the web. It dramatically <a href="http://chamas.com/bench/">increases the speed</a> at which these applications load and are processed. The net result for my visitors and users of <a href="http://www.sixapart.com/movabletype/">Movable Type</a> is better application performance, faster commenting, and in almost all cases, fast page loading. </p>

<p>What was wonderful was how incredibly easy it was to setup. Keep reading to learn how I made Movable Type much faster on my Linux box running Apache.</p>
]]>
      <![CDATA[<p>Now I am (on the average) much more technical than the average user, but I found Neil&#8217;s article <a href="http://www.neilturner.me.uk/2005/Dec/14/running_movable_type_on_o.html">Running Movable Type on OS X with FastCGI</a> to be incredibly helpful. The article&#8217;s title is misleading though - this is <em>not</em> Mac OS X specific. This applies just as easily to any Linux or *nix based system. </p>

<p>I made very few mistakes along the way, and the ones I did make were the result of me not reading the instructions. You see the high opinion I have of myself in regards to these types of things often causes me to skim, or not fully focus on the instructions I am reading. But I have found that with <a href="http://www.neilturner.me.uk/2005/Dec/14/running_movable_type_on_o.html">instructions</a> as carefully crafted as <a href="http://www.neilturner.me.uk/">Neil</a>&#8217;s that if you just slow down and <em>read</em>, they work 99% of the time just as they are written.</p>

<p>Anyway, I couldn&#8217;t be more pleased with the results. It is nice when a backend change like this actually makes a perceptible difference. And now Movable Type screams!</p>
]]>
    </content>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2006://3.1135-comment:12131</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2006://3.1135" type="text/html" href="http://www.majordojo.com/2006/04/making-movable.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2006/04/making-movable.php#c12131" />
    <title>Comment from Byrne Reese on 2006-04-08</title>
    <author>
        <name>Byrne Reese</name>
<!--        <uri>http://www.majordojo.com</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.majordojo.com">
	<![CDATA[<p>Here's a follow up. I did a little benchmark using FasterFox as my timer. The MT app is twice as fast. But sadly I am actually having difficulty getting mt-comments.fcgi to work. So I disabled that for the time being. Ug.</p>
]]>
    </content>
    <published>2006-04-08T19:20:10Z</published>
    <updated>2006-04-08T19:20:10Z</updated>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2006://3.1135-comment:12460</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2006://3.1135" type="text/html" href="http://www.majordojo.com/2006/04/making-movable.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2006/04/making-movable.php#c12460" />
    <title>Comment from Janitor on 2006-04-25</title>
    <author>
        <name>Janitor</name>
<!--        <uri>http://nemu-nemu.com/</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://nemu-nemu.com/">
	<![CDATA[<p>Funny, I got mt-comments.fcgi to work but I couldn't get search to work as it seemed to cache things. When other blog users on the same instalation would do a search it would bring back results for whatever blog did a search before them instead of just theirs.</p>

<p>Also when doing edits of authors I found I have to reboot the server to clear fcgi's cache. Dunno if you've experienced any of these problems yourself but I just thought i'd share :-)</p>
]]>
    </content>
    <published>2006-04-25T21:21:04Z</published>
    <updated>2006-04-25T21:21:04Z</updated>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2006://3.1135-comment:18174</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2006://3.1135" type="text/html" href="http://www.majordojo.com/2006/04/making-movable.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2006/04/making-movable.php#c18174" />
    <title>Comment from Eric on 2006-08-15</title>
    <author>
        <name>Eric</name>
<!--         -->
    </author>
    <content type="html" xml:lang="en" xml:base="">
	<![CDATA[<p>I tried to use fcgi but I got these kind of errors:<br />
/cgi-bin/.htaccess: FastCgiConfig not allowed here
<br />cgi-bin/mt.fcgi" aborted: (first read) idle timeout (30 sec)<br />
incomplete headers (0 bytes) received from server "/cgi-bin/dispatch.fcgi"<br />
I,m really confused and finally I should give up.Can any body tell me exactly what to do, as if I'm a 4 years boy?!!</p>
]]>
    </content>
    <published>2006-08-15T08:48:27Z</published>
    <updated>2006-08-15T08:48:27Z</updated>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2006://3.1135-comment:30511</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2006://3.1135" type="text/html" href="http://www.majordojo.com/2006/04/making-movable.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2006/04/making-movable.php#c30511" />
    <title>Comment from Nick Aster on 2006-10-15</title>
    <author>
        <name>Nick Aster</name>
<!--        <uri>http://www.treehugger.com</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.treehugger.com">
	<![CDATA[<p>Hey Byrne - any chance you might be able to help us at TreeHugger out? I'm having a terrible time getting this darn FastCGI to work and our install is crawling. We'd be happy to compensate ya!</p>
]]>
    </content>
    <published>2006-10-16T04:42:47Z</published>
    <updated>2006-10-16T04:42:47Z</updated>
  </entry>

  <entry>
    <id>tag:www.majordojo.com,2006://3.1135-comment:53711</id>
    <thr:in-reply-to ref="tag:www.majordojo.com,2006://3.1135" type="text/html" href="http://www.majordojo.com/2006/04/making-movable.php"/>
    <link rel="alternate" type="text/html" href="http://www.majordojo.com/2006/04/making-movable.php#c53711" />
    <title>Comment from Rik Eberhardt on 2007-01-28</title>
    <author>
        <name>Rik Eberhardt</name>
<!--        <uri>http://cms.mit.edu</uri> -->
    </author>
    <content type="html" xml:lang="en" xml:base="http://cms.mit.edu">
	<![CDATA[<p>Eric - likely, your host either already has FastCgiConfig set to their liking or, just doesn't allow users to run this (I use Dreamhost and both apply).</p>

<p>The 'incomplete headers' means that the process timed out and was killed by the server before it ever had a chance of throwing out the headers. In my case, Dreamhost sets the kill rate at 300 (wicked aggressive) rather than the 3600 most instructions for MT prefer.</p>

<p>It could also be a memory issue - multiple instances of CGI programs running. If you have shell access, run top and see if you have more than one mt.cgi (or whatever other programs you would normally have running).</p>

<p>All that said, I am currently unable to get MT 3.34 running w/ FastCGI - too bad, considering the amount of traffic my sites are starting to generate. The comment spam alone drags down my mt.cgi.</p>
]]>
    </content>
    <published>2007-01-28T23:19:50Z</published>
    <updated>2007-01-28T23:19:50Z</updated>
  </entry>

</feed>
