<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: A guide to django on dreamhost (and django deployment in general) and my experience so far</title>
	<atom:link href="http://grimboy.co.uk/blawg/a-guide-to-django-on-dreamhost-and-django-deployment-in-general-and-my-experiance-so-far/feed/" rel="self" type="application/rss+xml" />
	<link>http://grimboy.co.uk/blawg/a-guide-to-django-on-dreamhost-and-django-deployment-in-general-and-my-experiance-so-far/</link>
	<description>Updates few and far between since 2006!</description>
	<lastBuildDate>Thu, 16 Jul 2009 00:05:06 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: grimboy</title>
		<link>http://grimboy.co.uk/blawg/a-guide-to-django-on-dreamhost-and-django-deployment-in-general-and-my-experiance-so-far/comment-page-1/#comment-393</link>
		<dc:creator>grimboy</dc:creator>
		<pubDate>Mon, 07 May 2007 18:38:59 +0000</pubDate>
		<guid isPermaLink="false">http://grimboy.co.uk/blawg/a-guide-to-django-on-dreamhost-and-django-deployment-in-general-and-my-experiance-so-far/#comment-393</guid>
		<description>Yeah, cron.

If you are on dreamhost you can go to https://panel.dreamhost.com/index.cgi?tree=goodies.cron&amp; otherwise login via shell and do crontab -e

The alternative is to write a middleware that if the difference between the current time and the last running time is more than an hour then run the desired code. But cron is a much easier, established solution.</description>
		<content:encoded><![CDATA[<p>Yeah, cron.</p>
<p>If you are on dreamhost you can go to <a href="https://panel.dreamhost.com/index.cgi?tree=goodies.cron&#038;" rel="nofollow">https://panel.dreamhost.com/index.cgi?tree=goodies.cron&#038;</a> otherwise login via shell and do crontab -e</p>
<p>The alternative is to write a middleware that if the difference between the current time and the last running time is more than an hour then run the desired code. But cron is a much easier, established solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Altu</title>
		<link>http://grimboy.co.uk/blawg/a-guide-to-django-on-dreamhost-and-django-deployment-in-general-and-my-experiance-so-far/comment-page-1/#comment-392</link>
		<dc:creator>Altu</dc:creator>
		<pubDate>Mon, 07 May 2007 17:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://grimboy.co.uk/blawg/a-guide-to-django-on-dreamhost-and-django-deployment-in-general-and-my-experiance-so-far/#comment-392</guid>
		<description>Is there a way to run some piece of django code repeatedly, like every one hour?

Cheers,
Altu</description>
		<content:encoded><![CDATA[<p>Is there a way to run some piece of django code repeatedly, like every one hour?</p>
<p>Cheers,<br />
Altu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Occasional insights into the mind of an awesomeness. &#187; Blog Archive &#187; Django on dreamhost problem</title>
		<link>http://grimboy.co.uk/blawg/a-guide-to-django-on-dreamhost-and-django-deployment-in-general-and-my-experiance-so-far/comment-page-1/#comment-56</link>
		<dc:creator>Occasional insights into the mind of an awesomeness. &#187; Blog Archive &#187; Django on dreamhost problem</dc:creator>
		<pubDate>Tue, 26 Dec 2006 20:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://grimboy.co.uk/blawg/a-guide-to-django-on-dreamhost-and-django-deployment-in-general-and-my-experiance-so-far/#comment-56</guid>
		<description>[...] My mum&#8217;s site is set up using Django on Apache running in a shared hosting environment with Dreamhost as laid out in the official documentation and my own write-up. I was having a few problems with it. The problem was an intermittent, unpredictable error about a third of the time which lead to /internal_error.html being displayed. This means that Django wasn&#8217;t even starting or was starting and failing very early on because if it was starting it would display the 500.html template instead of /internal_error.html. I took a look at the error.log and sure enough there were errors in the following format for each failed request: [time and date] [error] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: FastCGI: comm with server &quot;/home/grimboy/example.com/django.fcgi&quot; aborted: read failed [time and date] [error] [client xxx.xxx.xxx.xxx] FastCGI: incomplete headers (0 bytes) received from server &quot;/home/grimboy/example.com/django.fcgi&quot; [...]</description>
		<content:encoded><![CDATA[<p>[...] My mum&#8217;s site is set up using Django on Apache running in a shared hosting environment with Dreamhost as laid out in the official documentation and my own write-up. I was having a few problems with it. The problem was an intermittent, unpredictable error about a third of the time which lead to /internal_error.html being displayed. This means that Django wasn&#8217;t even starting or was starting and failing very early on because if it was starting it would display the 500.html template instead of /internal_error.html. I took a look at the error.log and sure enough there were errors in the following format for each failed request: [time and date] [error] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: FastCGI: comm with server &#8220;/home/grimboy/example.com/django.fcgi&#8221; aborted: read failed [time and date] [error] [client xxx.xxx.xxx.xxx] FastCGI: incomplete headers (0 bytes) received from server &#8220;/home/grimboy/example.com/django.fcgi&#8221; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: henry</title>
		<link>http://grimboy.co.uk/blawg/a-guide-to-django-on-dreamhost-and-django-deployment-in-general-and-my-experiance-so-far/comment-page-1/#comment-54</link>
		<dc:creator>henry</dc:creator>
		<pubDate>Mon, 25 Dec 2006 12:09:56 +0000</pubDate>
		<guid isPermaLink="false">http://grimboy.co.uk/blawg/a-guide-to-django-on-dreamhost-and-django-deployment-in-general-and-my-experiance-so-far/#comment-54</guid>
		<description>I also made a crontab to pkill dispath.fcgi every two hours.
It works well.</description>
		<content:encoded><![CDATA[<p>I also made a crontab to pkill dispath.fcgi every two hours.<br />
It works well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
