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
Shorter URL
Want to share or tweet this post? Please use this short URL: http://ozh.in/eo
thought, on 31/May/07 at 1:25 pm # :
How can I use the WP internal cache?? I don’t have that option / directory.
commented, 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 :
thought, on 20/Dec/09 at 6:46 am # :
The wp-content/cache/ doesn't exist. WordPress doesn't have a cache of its own. It's only if you install the WP-Cache plugin or if the other plugins have their own caches.
From http://codex.wordpress.org/I_Make_Changes_and_Nothing_Happens