<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Upgrade Memcached Before WordPress</title>
	<atom:link href="http://andy.wordpress.com/2008/11/19/upgrade-memcached-before-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://andy.wordpress.com/2008/11/19/upgrade-memcached-before-wordpress/</link>
	<description>Just another WordPress hacker</description>
	<lastBuildDate>Wed, 23 Dec 2009 18:55:23 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Luke</title>
		<link>http://andy.wordpress.com/2008/11/19/upgrade-memcached-before-wordpress/#comment-45814</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Thu, 12 Mar 2009 10:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://andy.wordpress.com/?p=219#comment-45814</guid>
		<description>Just to follow up, I switched to the 1.0 branch and after 15 minutes it hasn&#039;t exhibited any seg faults or mm_heap corrupt errors. I&#039;ll keep my fingers crossed.</description>
		<content:encoded><![CDATA[<p>Just to follow up, I switched to the 1.0 branch and after 15 minutes it hasn&#8217;t exhibited any seg faults or mm_heap corrupt errors. I&#8217;ll keep my fingers crossed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://andy.wordpress.com/2008/11/19/upgrade-memcached-before-wordpress/#comment-45813</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Thu, 12 Mar 2009 10:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://andy.wordpress.com/?p=219#comment-45813</guid>
		<description>I&#039;ll have to &quot;second&quot; Fernando above, from Feb 3rd as well.

Once the object-cache is turned on, it starts seg faulting like crazy.

I did track it down a bit, to find out one source of the cause.
First, the setup.
- Apache 2.2.6
- PHP 5.2.6
- MySQL 5.0.45
- Memcached 1.2.6
- PECL Memcached Extension: 2.2.5
- WordPress MU (Subdomain mode)

For whatever reason, it appears that on occasion certain file uploads within the blogs.dir will produce corrupted results, thus causing a seg fault (and a zend_mm_heap corrupt as well).

That&#039;s as far as I&#039;ve got with it, as I hit google to look for any others with this problem and this just happened to be the first result.

So whether it&#039;s something within blogs.php that&#039;s causing it, the rewrite rule for files, etc, I&#039;m not sure. At the moment, the files which error out seem to be at random. As an aside, the actual image files are fine, as they serve right up once the object cache is disabled.

I may try the non-PECL branch as an alternative, and see if the results are similar in order to troubleshoot a bit and try to narrow it down. If I find anything, I&#039;ll pass it along.</description>
		<content:encoded><![CDATA[<p>I&#8217;ll have to &#8220;second&#8221; Fernando above, from Feb 3rd as well.</p>
<p>Once the object-cache is turned on, it starts seg faulting like crazy.</p>
<p>I did track it down a bit, to find out one source of the cause.<br />
First, the setup.<br />
- Apache 2.2.6<br />
- PHP 5.2.6<br />
- MySQL 5.0.45<br />
- Memcached 1.2.6<br />
- PECL Memcached Extension: 2.2.5<br />
- WordPress MU (Subdomain mode)</p>
<p>For whatever reason, it appears that on occasion certain file uploads within the blogs.dir will produce corrupted results, thus causing a seg fault (and a zend_mm_heap corrupt as well).</p>
<p>That&#8217;s as far as I&#8217;ve got with it, as I hit google to look for any others with this problem and this just happened to be the first result.</p>
<p>So whether it&#8217;s something within blogs.php that&#8217;s causing it, the rewrite rule for files, etc, I&#8217;m not sure. At the moment, the files which error out seem to be at random. As an aside, the actual image files are fine, as they serve right up once the object cache is disabled.</p>
<p>I may try the non-PECL branch as an alternative, and see if the results are similar in order to troubleshoot a bit and try to narrow it down. If I find anything, I&#8217;ll pass it along.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernando Serer</title>
		<link>http://andy.wordpress.com/2008/11/19/upgrade-memcached-before-wordpress/#comment-45744</link>
		<dc:creator>Fernando Serer</dc:creator>
		<pubDate>Tue, 03 Feb 2009 13:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://andy.wordpress.com/?p=219#comment-45744</guid>
		<description>Hi  Andy and thank you for this cache plugin!

I would like to ask you if you know why apache is having segmentation faults if i copy the object-cache.php (2.0 PECL) to wp-content.

The steps:

- installed memcache daemon
- installed php-pecl-memcache
- edited wp-config and added 2 lines: 
global $memcached_servers;
$memcached_servers = array(&#039;default&#039; =&gt; array(&#039;127.0.0.1:11211&#039;));

- copy object-cache.php to wp-content

and then apache starts with segmentation faults. A lot....

I don&#039;t know if i forgot any step :)

Thanks again!</description>
		<content:encoded><![CDATA[<p>Hi  Andy and thank you for this cache plugin!</p>
<p>I would like to ask you if you know why apache is having segmentation faults if i copy the object-cache.php (2.0 PECL) to wp-content.</p>
<p>The steps:</p>
<p>- installed memcache daemon<br />
- installed php-pecl-memcache<br />
- edited wp-config and added 2 lines:<br />
global $memcached_servers;<br />
$memcached_servers = array(&#8216;default&#8217; =&gt; array(&#8216;127.0.0.1:11211&#8242;));</p>
<p>- copy object-cache.php to wp-content</p>
<p>and then apache starts with segmentation faults. A lot&#8230;.</p>
<p>I don&#8217;t know if i forgot any step <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://andy.wordpress.com/2008/11/19/upgrade-memcached-before-wordpress/#comment-45623</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 20 Nov 2008 17:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://andy.wordpress.com/?p=219#comment-45623</guid>
		<description>&lt;a href=&quot;http://andy.wordpress.com/2008/11/19/upgrade-memcached-before-wordpress/#comment-45615&quot; rel=&quot;nofollow&quot;&gt;Mark Jaquith&lt;/a&gt;: That&#039;s very similar to what I proposed in &lt;a href=&quot;http://andy.wordpress.com/2008/03/01/cache-with-versioned-tags/&quot; rel=&quot;nofollow&quot;&gt;Cache with Versioned Tags&lt;/a&gt;. I used a cached integer instead of a date, then I used the memcached increment function to &quot;flush&quot; the cache. This really belongs in the plugin...

Drew: That&#039;s not the memcached plugin. You have something else. I&#039;ve updated the post to be more helpful in that case.</description>
		<content:encoded><![CDATA[<p><a href="http://andy.wordpress.com/2008/11/19/upgrade-memcached-before-wordpress/#comment-45615" rel="nofollow">Mark Jaquith</a>: That&#8217;s very similar to what I proposed in <a href="http://andy.wordpress.com/2008/03/01/cache-with-versioned-tags/" rel="nofollow">Cache with Versioned Tags</a>. I used a cached integer instead of a date, then I used the memcached increment function to &#8220;flush&#8221; the cache. This really belongs in the plugin&#8230;</p>
<p>Drew: That&#8217;s not the memcached plugin. You have something else. I&#8217;ve updated the post to be more helpful in that case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://andy.wordpress.com/2008/11/19/upgrade-memcached-before-wordpress/#comment-45620</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Thu, 20 Nov 2008 11:33:16 +0000</pubDate>
		<guid isPermaLink="false">http://andy.wordpress.com/?p=219#comment-45620</guid>
		<description>Upon further investigation, I think I&#039;ve got a stale object-cache.php file, the header of which is below. Does this shed any light?

/*
Name: APC Cache
Description: APC backend for the WP Object Cache.
Version: 0.2
URI: http://txfx.net/code/wordpress/apc-cache/
Author: Mark Jaquith

Install this file to wp-content/object-cache.php

Big thanks to Ryan Boren (http://boren.nu/) whose Memcached backend plugin
made the writing of this plugin a 5 minute operation.
*/</description>
		<content:encoded><![CDATA[<p>Upon further investigation, I think I&#8217;ve got a stale object-cache.php file, the header of which is below. Does this shed any light?</p>
<p>/*<br />
Name: APC Cache<br />
Description: APC backend for the WP Object Cache.<br />
Version: 0.2<br />
URI: <a href="http://txfx.net/code/wordpress/apc-cache/" rel="nofollow">http://txfx.net/code/wordpress/apc-cache/</a><br />
Author: Mark Jaquith</p>
<p>Install this file to wp-content/object-cache.php</p>
<p>Big thanks to Ryan Boren (<a href="http://boren.nu/" rel="nofollow">http://boren.nu/</a>) whose Memcached backend plugin<br />
made the writing of this plugin a 5 minute operation.<br />
*/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://andy.wordpress.com/2008/11/19/upgrade-memcached-before-wordpress/#comment-45619</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Thu, 20 Nov 2008 11:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://andy.wordpress.com/?p=219#comment-45619</guid>
		<description>I found object-cache.php in wp-content and found the word &quot;memcached&quot; therein. Now, how do I determine if I am using SOCKETS or PECL so I know which way to upgrade?

Also, can I perform this memcached upgrade BEFORE installing 2.7 (ie: with 2.6.2 still installed), or must I wait until 2.7?</description>
		<content:encoded><![CDATA[<p>I found object-cache.php in wp-content and found the word &#8220;memcached&#8221; therein. Now, how do I determine if I am using SOCKETS or PECL so I know which way to upgrade?</p>
<p>Also, can I perform this memcached upgrade BEFORE installing 2.7 (ie: with 2.6.2 still installed), or must I wait until 2.7?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Carrero Fdez-Baillo</title>
		<link>http://andy.wordpress.com/2008/11/19/upgrade-memcached-before-wordpress/#comment-45618</link>
		<dc:creator>David Carrero Fdez-Baillo</dc:creator>
		<pubDate>Thu, 20 Nov 2008 09:31:04 +0000</pubDate>
		<guid isPermaLink="false">http://andy.wordpress.com/?p=219#comment-45618</guid>
		<description>I have problems with memcached and wordpress, i have 10 blogs with wordpress. If active memcached for wordpress only cache the fisrt blog, and other blogs show the first blog cached ?? Why ?? I need help.</description>
		<content:encoded><![CDATA[<p>I have problems with memcached and wordpress, i have 10 blogs with wordpress. If active memcached for wordpress only cache the fisrt blog, and other blogs show the first blog cached ?? Why ?? I need help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Jaquith</title>
		<link>http://andy.wordpress.com/2008/11/19/upgrade-memcached-before-wordpress/#comment-45615</link>
		<dc:creator>Mark Jaquith</dc:creator>
		<pubDate>Thu, 20 Nov 2008 04:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://andy.wordpress.com/?p=219#comment-45615</guid>
		<description>We just came across this last week. Our solution was simpler... we just keep a UNIX time stamp version number for each blog and integrate that into our keys. We have the flush() method update that to the current time (we can also flush a specific blog by passing a special query string parameter to it via HTTP).</description>
		<content:encoded><![CDATA[<p>We just came across this last week. Our solution was simpler&#8230; we just keep a UNIX time stamp version number for each blog and integrate that into our keys. We have the flush() method update that to the current time (we can also flush a specific blog by passing a special query string parameter to it via HTTP).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
