<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Synthesis: up down up down</title>
    <link>http://synthesis.sbecker.net/articles/2005/09/21/up-down-up-down</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>by Scott Becker</description>
    <item>
      <title>up down up down</title>
      <description>&lt;p&gt;My textdrive websites (including this blog ) have been going down as much as they have been staying up. For no reason, whatsoever. As you can imagine, this is immensely frustrating. At some point in the past I setup Daedalus to detect the absence of a lighttpd process and restart it, but i realized today that the daedalus process wasn&amp;#8217;t setup as a cron job, so it wasn&amp;#8217;t running, thus my lighttpd instances weren&amp;#8217;t getting restarted. I&amp;#8217;ve been restarting them manually lately, whenever i discover the sites are down, which seem to pretty much daily. Why lighttpd suddenly ceases to run, I have no idea. I have lighttpd setup as a cron job to start every time the server boots, but this apparently insures nothing. Add to that the fact that the server &amp;#8211; Pendrell &amp;#8211; seems to cycle all the time, and goes down a lot. It was down yesterday. Now that Daedalus is cron&amp;#8217;d, hopefully things we&amp;#8217;ll be up a bit more!&lt;/p&gt;


	&lt;p&gt;We&amp;#8217;ll I got a second account at Dreamhost, because A &amp;#8211; they are cheaper, B &amp;#8211; they support rails, C &amp;#8211; why not, they had a sale. I have followed their instructions and got rails up and running. One thing that puzzles me though, despite the fact that my sites are running in production mode on Dreamhost, it seems like it is reloading everything on every request. (Unlike lighttpd on textdrive, i dont have to start any process, you just drop the right files in the directory, give the public folder execute permissions, and you&amp;#8217;re off to the races.) &lt;span class="caps"&gt;BUT&lt;/span&gt;, is it caching anything? Keeping any ruby processes alive? If I change a file, i dont have to stop/start, it simply sees the change. And seems a bit slower than textdrive, like its reloading every time. But this contradicts the idea of production mode, where things are supposed to be cached. Is there a way to get things caching in memory, and boost the speed a bit? I hope someone can enlighten me.&lt;/p&gt;</description>
      <pubDate>Wed, 21 Sep 2005 07:16:18 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:8550667d4fabf7e4ec6c9057bb305686</guid>
      <author>sbecker</author>
      <link>http://synthesis.sbecker.net/articles/2005/09/21/up-down-up-down</link>
      <category>Ruby on Rails</category>
      <category>Web Development</category>
    </item>
    <item>
      <title>"up down up down" by scott</title>
      <description>im running apache on dreamhost. it is not reloading on every request now because i am running FCGI, so its faster after the first request. But you get an occasional random 500 error, and that sucks. I'm planning to move to dedicated land and go back to lighttpd.</description>
      <pubDate>Thu, 16 Mar 2006 22:30:15 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:</guid>
      <link>http://synthesis.sbecker.net/articles/2005/09/21/up-down-up-down#comment-35</link>
    </item>
    <item>
      <title>"up down up down" by floyd</title>
      <description>Are you still running lighttpd?  I'm not overly familiar with Dreamhost, but I know that everybody running Rails apps with Apache is sad.</description>
      <pubDate>Tue, 14 Mar 2006 18:18:31 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:</guid>
      <link>http://synthesis.sbecker.net/articles/2005/09/21/up-down-up-down#comment-34</link>
    </item>
  </channel>
</rss>
