In: , , ,
On: 2007 / 05 / 31 Viewed: 31173 times

You may have seen a nasty Error 500 for the past two or three hours here, and this is the second time I’ve had this kind of trouble. Site up, MySQL up, stuff looking OK, except that everything related to Wordpress, including the admin area, dies returning an error. It turned out that the culprit was… Wordpress’ Cache.

Apparently, there can be sometimes a stale lock file in wp-content/cache/ that prevents everything from running normally. In my case, I’m using WP’s internal cache but not the WP-Cache plugin, but it seems this problem affects also WP-Cache users. The stale lock is actually preventing things from running so well that every process just timeouts and dies.

Today’s lesson : when your Wordpress blog starts to behave weirdly and not responding, simply delete wp-content/cache/.

Related posts

Metastuff

This entry "Wordpress Troubles ? Clean the Cache !" was posted on 31/05/2007 at 12:56 am and is tagged with , , ,
Watch this discussion : Comments RSS 2.0. You can trackback this post from your own site

2 Blablas

  1. 1
    Ron Netherlands »
    thought, on 31/May/07 at 1:25 pm # :

    How can I use the WP internal cache?? I don’t have that option / directory.

  2. 2
    Ozh France »
    replied, on 31/May/07 at 7:49 pm # :

    Ron » the internal cache is part of every WP installation, hence the name "internal" :) Its directory is wp-content/cache. In order to make use of it, and to reduce the number of queries on your site, you may need to add the following to your wp-config.php :

    PHP:
    1. define('ENABLE_CACHE', true);

Leave a Reply

Comment Guidelines or Die

  • HTML: You can use these tags: <a href=""> <em> <i> <b> <strong> <blockquote>
  • Posting code: Post raw code (no <> &lt; etc) within appropriate tags : [php][/php], [css][/css], [html][/html], [js][/js], [sql][/sql], [xml][/xml], or generic [code][code]
  • Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar.
  • Spam: Various spam plugins on patrol. I'll put pins in a Voodoo doll if you spam me.
  • I will mark as Spam test comments, all comments with SEO names (ie "My Cool Online Shop" instead of "Joe") or containing forum-like signatures.

Read more ?

Close
E-mail It