<?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: Open Thread: Site Slowness, Continued</title>
	<atom:link href="http://www.daylightatheism.org/2008/06/open-thread-7.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.daylightatheism.org/2008/06/open-thread-7.html</link>
	<description>NIGHTTIME IS FOR DREAMING. DAYLIGHT IS FOR ACTION.</description>
	<lastBuildDate>Mon, 15 Mar 2010 19:47:09 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: yunshui</title>
		<link>http://www.daylightatheism.org/2008/06/open-thread-7.html#comment-36658</link>
		<dc:creator>yunshui</dc:creator>
		<pubDate>Tue, 24 Jun 2008 13:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.daylightatheism.org/?p=763#comment-36658</guid>
		<description>Seems fixed to me. Now I can get my atheistic fix on a regular basis once more.</description>
		<content:encoded><![CDATA[<p>Seems fixed to me. Now I can get my atheistic fix on a regular basis once more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nes</title>
		<link>http://www.daylightatheism.org/2008/06/open-thread-7.html#comment-36653</link>
		<dc:creator>Nes</dc:creator>
		<pubDate>Tue, 24 Jun 2008 00:46:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.daylightatheism.org/?p=763#comment-36653</guid>
		<description>Yes, it&#039;s going much better now. It was yesterday too, but I wanted to wait before commenting just in case it was a chance event.</description>
		<content:encoded><![CDATA[<p>Yes, it's going much better now. It was yesterday too, but I wanted to wait before commenting just in case it was a chance event.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikespeir</title>
		<link>http://www.daylightatheism.org/2008/06/open-thread-7.html#comment-36638</link>
		<dc:creator>mikespeir</dc:creator>
		<pubDate>Mon, 23 Jun 2008 15:43:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.daylightatheism.org/?p=763#comment-36638</guid>
		<description>Wow!  It just popped right up!  Looks like ya done good, Ebon.</description>
		<content:encoded><![CDATA[<p>Wow!  It just popped right up!  Looks like ya done good, Ebon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prase</title>
		<link>http://www.daylightatheism.org/2008/06/open-thread-7.html#comment-36635</link>
		<dc:creator>prase</dc:creator>
		<pubDate>Mon, 23 Jun 2008 10:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.daylightatheism.org/?p=763#comment-36635</guid>
		<description>It has been improving since few days ago and it&#039;s much better now. Good job.</description>
		<content:encoded><![CDATA[<p>It has been improving since few days ago and it's much better now. Good job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ebonmuse</title>
		<link>http://www.daylightatheism.org/2008/06/open-thread-7.html#comment-36634</link>
		<dc:creator>Ebonmuse</dc:creator>
		<pubDate>Sun, 22 Jun 2008 22:45:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.daylightatheism.org/?p=763#comment-36634</guid>
		<description>I haven&#039;t yet, but I will. For the technically inclined, here are the changes I made:

1. Disable the built-in cron module. At least for me, it was hogging the CPU and causing repeated errors that looked like this:

&lt;blockquote&gt;[client 67.210.98.250] script &#039;/var/www/vhosts/default/htdocs/wp-cron.php&#039; not found or unable to stat&lt;/blockquote&gt;

You can fix this by commenting out the call to spawn_cron() around line 135 of wp-includes/cron.php.

2. In wp-settings.php, there&#039;s use of the HTTP variables $_SERVER[&#039;SCRIPT_NAME&#039;] and $_SERVER[&quot;REQUEST_URI&quot;] without checking to see if they&#039;re defined. My version of Apache doesn&#039;t define them, causing errors every time a page was loaded. Again, I commented out the code that makes reference to those variables.

3. The most significant change, the one I described above, is the call to wp_cache_postload() around line 380 of wp-settings.php. Every invocation of this function was taking between five and ten seconds, sometimes more. I believe this is used by WP&#039;s built-in object cache, which I wasn&#039;t even using. I took out this call and performance went way up.</description>
		<content:encoded><![CDATA[<p>I haven't yet, but I will. For the technically inclined, here are the changes I made:</p>
<p>1. Disable the built-in cron module. At least for me, it was hogging the CPU and causing repeated errors that looked like this:</p>
<blockquote><p>[client 67.210.98.250] script '/var/www/vhosts/default/htdocs/wp-cron.php' not found or unable to stat</p></blockquote>
<p>You can fix this by commenting out the call to spawn_cron() around line 135 of wp-includes/cron.php.</p>
<p>2. In wp-settings.php, there's use of the HTTP variables $_SERVER['SCRIPT_NAME'] and $_SERVER["REQUEST_URI"] without checking to see if they're defined. My version of Apache doesn't define them, causing errors every time a page was loaded. Again, I commented out the code that makes reference to those variables.</p>
<p>3. The most significant change, the one I described above, is the call to wp_cache_postload() around line 380 of wp-settings.php. Every invocation of this function was taking between five and ten seconds, sometimes more. I believe this is used by WP's built-in object cache, which I wasn't even using. I took out this call and performance went way up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eshu</title>
		<link>http://www.daylightatheism.org/2008/06/open-thread-7.html#comment-36633</link>
		<dc:creator>Eshu</dc:creator>
		<pubDate>Sun, 22 Jun 2008 22:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.daylightatheism.org/?p=763#comment-36633</guid>
		<description>Yes, it&#039;s &lt;i&gt;much&lt;/i&gt; better! Well done!

As I use WP (on a smaller scale) I&#039;d be interested in knowing where the problem was exactly. Have you shared this info on a WordPress forum somewhere?</description>
		<content:encoded><![CDATA[<p>Yes, it's <i>much</i> better! Well done!</p>
<p>As I use WP (on a smaller scale) I'd be interested in knowing where the problem was exactly. Have you shared this info on a WordPress forum somewhere?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OMGF</title>
		<link>http://www.daylightatheism.org/2008/06/open-thread-7.html#comment-36632</link>
		<dc:creator>OMGF</dc:creator>
		<pubDate>Sun, 22 Jun 2008 21:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.daylightatheism.org/?p=763#comment-36632</guid>
		<description>I&#039;ve observed a marked increase in performance.  Good job clearing that up.</description>
		<content:encoded><![CDATA[<p>I've observed a marked increase in performance.  Good job clearing that up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ebonmuse</title>
		<link>http://www.daylightatheism.org/2008/06/open-thread-7.html#comment-36631</link>
		<dc:creator>Ebonmuse</dc:creator>
		<pubDate>Sun, 22 Jun 2008 21:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.daylightatheism.org/?p=763#comment-36631</guid>
		<description>So, I think there may at last have been a breakthrough in this interminable saga. 

I spent some time today doing a line-by-line analysis of the code that runs when my site loads, and I think I&#039;ve pinned down the problem. Ironically, it had to do with a caching module built into WordPress. Just one function was responsible for the vast majority of the time it was taking to load this site&#039;s index page. And since my webserver can only hold a limited number of TCP connections open at one time, the problem tends to cascade: a bunch of people connect, and while they&#039;re waiting for the index page to load, they&#039;re taking up all the available connections for subsequent visitors, who then have to wait in the queue even longer, and so on.

I&#039;ve removed the call to the misbehaving function, and I think Daylight Atheism is responding a lot better now. Please let me know, readers, if you&#039;ve observed the same.</description>
		<content:encoded><![CDATA[<p>So, I think there may at last have been a breakthrough in this interminable saga. </p>
<p>I spent some time today doing a line-by-line analysis of the code that runs when my site loads, and I think I've pinned down the problem. Ironically, it had to do with a caching module built into WordPress. Just one function was responsible for the vast majority of the time it was taking to load this site's index page. And since my webserver can only hold a limited number of TCP connections open at one time, the problem tends to cascade: a bunch of people connect, and while they're waiting for the index page to load, they're taking up all the available connections for subsequent visitors, who then have to wait in the queue even longer, and so on.</p>
<p>I've removed the call to the misbehaving function, and I think Daylight Atheism is responding a lot better now. Please let me know, readers, if you've observed the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: superhappyjen</title>
		<link>http://www.daylightatheism.org/2008/06/open-thread-7.html#comment-36630</link>
		<dc:creator>superhappyjen</dc:creator>
		<pubDate>Sun, 22 Jun 2008 16:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.daylightatheism.org/?p=763#comment-36630</guid>
		<description>It was a little quicker today than it has been recently, but could that be because it is Sunday and most people are lazing by the pool and having BBQs instead of reading blogs?</description>
		<content:encoded><![CDATA[<p>It was a little quicker today than it has been recently, but could that be because it is Sunday and most people are lazing by the pool and having BBQs instead of reading blogs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: konrad_arflane</title>
		<link>http://www.daylightatheism.org/2008/06/open-thread-7.html#comment-36629</link>
		<dc:creator>konrad_arflane</dc:creator>
		<pubDate>Sun, 22 Jun 2008 14:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.daylightatheism.org/?p=763#comment-36629</guid>
		<description>I don&#039;t know if this is related to the general site slowness, but this is the first time I&#039;ve been able to access Daylight Atheism for at least a month. I&#039;ve been getting absolutely no connection (long wait time, then some variant of 404) consistently, though my attempts to access the site have decreased in frequency in the last couple of weeks.

Here&#039;s hoping it stays fixed.</description>
		<content:encoded><![CDATA[<p>I don't know if this is related to the general site slowness, but this is the first time I've been able to access Daylight Atheism for at least a month. I've been getting absolutely no connection (long wait time, then some variant of 404) consistently, though my attempts to access the site have decreased in frequency in the last couple of weeks.</p>
<p>Here's hoping it stays fixed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nes</title>
		<link>http://www.daylightatheism.org/2008/06/open-thread-7.html#comment-36623</link>
		<dc:creator>Nes</dc:creator>
		<pubDate>Sat, 21 Jun 2008 21:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.daylightatheism.org/?p=763#comment-36623</guid>
		<description>Eh, it did that hyperlink automatically. I didn&#039;t have the &quot;http://&quot; part and I had ended it with an ellipsis which got partially hyperlinked...</description>
		<content:encoded><![CDATA[<p>Eh, it did that hyperlink automatically. I didn't have the "http://" part and I had ended it with an ellipsis which got partially hyperlinked...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nes</title>
		<link>http://www.daylightatheism.org/2008/06/open-thread-7.html#comment-36622</link>
		<dc:creator>Nes</dc:creator>
		<pubDate>Sat, 21 Jun 2008 21:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.daylightatheism.org/?p=763#comment-36622</guid>
		<description>&lt;blockquote&gt;What I&#039;ve been noticing is a delay before I start receiving data; after that happens, the page loads in short order.&lt;/blockquote&gt;

This is what I&#039;ve been noticing as well, for the past few (3-5?) days. I&#039;d say it takes 2-3 minutes to connect, then it goes fine. Today, the front page loaded almost instantly (for dial-up), but then it took a minute or two for this page to connect when I wanted to reply to it. IIRC, the status bar says something along the lines of &quot;Waiting for www.daylightatheism.org...&quot; (in Firefox 2.0.0.14 on WinXP Pro SP2) for those few minutes.</description>
		<content:encoded><![CDATA[<blockquote><p>What I've been noticing is a delay before I start receiving data; after that happens, the page loads in short order.</p></blockquote>
<p>This is what I've been noticing as well, for the past few (3-5?) days. I'd say it takes 2-3 minutes to connect, then it goes fine. Today, the front page loaded almost instantly (for dial-up), but then it took a minute or two for this page to connect when I wanted to reply to it. IIRC, the status bar says something along the lines of "Waiting for <a href="http://www.daylightatheism.org.." rel="nofollow">http://www.daylightatheism.org..</a>." (in Firefox 2.0.0.14 on WinXP Pro SP2) for those few minutes.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
