WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Super Cache] Could not get mutex lock

[Plugin: WP Super Cache] Could not get mutex lock

  • At the end of any page I see
    <!– Page not cached by WP Super Cache. Could not get mutex lock. –>

    I’ve already tried to edit wp-content/wp-cache-config.php and uncomment “$use_flock = true” or set $sem_id to a different value, but nothing works.

    Do you have any idea?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Anything in your error log? What happens when you try $use_flock?

    If you mean the error log of Apache, I just can’t see it because my host doesn’t allow to access that logs :/. If I set that variable nothing changes.

    You should talk to your host then. The mutex flag is used to make sure file locking works correctly. Otherwise you could get corrupted cache files or “race conditions”.

    Absolutely same problem here.
    Apache error log says –
    “[Sat Jan 03 11:06:40 2009] [error] [client 66.150.96.121] PHP Warning: filesize() [function.filesize]: stat failed for /home/xxxx/public_html/wp-content/cache/wp-cache-a3b8952813033977a26416392d3d768d.html in /home/xxxxx/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 464″

    Line 464 says-
    “array_push($wp_cache_meta_object->headers, ‘Content-Length: ‘ . filesize( $cache_path . $cache_filename ));”

    No idea what to do.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Super Cache] Could not get mutex lock’ is closed to new replies.
Skip to toolbar