<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>something learned comments on Emergent Behavior Sucks</title>
    <link>http://somethinglearned.com/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>something learned comments</description>
    <item>
      <title>"Emergent Behavior Sucks" by trevor</title>
      <description>&lt;p&gt;I&amp;#8217;ve got two Rails apps in &amp;#8216;production&amp;#8217; mode.  That is, they are (were) stable, humming along nicely and hadn&amp;#8217;t been changed in weeks.  Until this morning, that is.&lt;/p&gt;


	&lt;p&gt;All of a sudden FastCGI is going nuts spawning copies of itself and complaining of incomplete headers &amp;#8211; of course, no crash log is generated, so my only pointer is incomplete headers.  Not much help there.&lt;/p&gt;


	&lt;p&gt;I rebooted the box, killed all the old session files and removed the &lt;span class="caps"&gt;FCGI IPC&lt;/span&gt; directory (to get a clean one).  No joy.&lt;/p&gt;


	&lt;p&gt;I tried switching back to vanilla &lt;span class="caps"&gt;CGI &lt;/span&gt;- works fine so it&amp;#8217;s not issues further down the chain (like the DB).  Still no joy then.&lt;/p&gt;


	&lt;p&gt;After much digging (and swearing), I found that by removing the -restart flag from my system-wide FastCGI settings I could make the problem go away.&lt;/p&gt;


	&lt;p&gt;The problem is, I&amp;#8217;ve had the -restart flag set for ages with no issues.  I haven&amp;#8217;t touched the box in, like, forever (internet time).  So from the guy who can often be found saying &amp;#8220;OK, I know you don&amp;#8217;t think you changed anything but try &lt;em&gt;really&lt;/em&gt; hard to remember what you might have done&amp;#8221;, I&amp;#8217;m saying dammit, I didn&amp;#8217;t change anything!&lt;/p&gt;


	&lt;p&gt;So what&amp;#8217;s the deal?  Oh wait &amp;#8211; it&amp;#8217;s Tuesday isn&amp;#8217;t it?  That must be the problem.  Tuesday.&lt;/p&gt;


	&lt;p&gt;Stupid emergent behavior&amp;#8230;&lt;/p&gt;

</description>
      <pubDate>Tue, 17 May 2005 12:49:00 EDT</pubDate>
      <guid>&lt;a href="/articles/2005/05/17/emergent-behavior-sucks"&gt;Emergent Behavior Sucks&lt;/a&gt;</guid>
      <link>&lt;a href="/articles/2005/05/17/emergent-behavior-sucks"&gt;Emergent Behavior Sucks&lt;/a&gt;</link>
    </item>
  </channel>
</rss>
