Forums

wp-super-cache - could not get mutex lock (8 posts)

  1. brew13
    Member
    Posted 3 years ago #

    I have looked at 7 pages of support questions for wp-super-cache and cannot find the answer to my problem. I get the error message below at the bottom of the page:

    "Page not cached by WP Super Cache. Could not get mutex lock."

    the url is auditpundit.com hosted on a linux server.

    Anyone know the fix? Thanks.

  2. Donncha O Caoimh
    Member
    Posted 3 years ago #

    Check the readme.txt, this is in the troubleshooting section.

  3. brew13
    Member
    Posted 3 years ago #

    I checked with my domain hosting service and they don't have servers with mutex lock capability. I use ixwebhosting and thought that they specialized in supporting wordpress . . . I guess not. Thanks!

  4. Donncha O Caoimh
    Member
    Posted 3 years ago #

    Just use file locking, as suggested in the readme.txt. grrr.

  5. The IceMan
    Member
    Posted 3 years ago #

    Just use file locking, as suggested in the readme.txt. grrr.

    how i do that ?

  6. ajparker
    Member
    Posted 3 years ago #

    Ok - first off.... readme.txt has nothing that says mutex. I read through and then grep'ped the file...

    [northcarolinagenealogy][~/www/wp-content/plugins/wp-super-cache]$ cat readme.txt | grep -i mutex
    [northcarolinagenealogy][~/www/wp-content/plugins/wp-super-cache]$

    NOTHING - but THANKS for at least mentioning file locking....

    [northcarolinagenealogy][~/www/wp-content/plugins/wp-super-cache]$ cat readme.txt | grep locking
    13. sem_acquire() errors such as "failed to acquire key 0x152b: Permission denied in..." are a sign that you must use file locking. Edit wp-content/wp-cache-config.php and uncomment "$use_flock = true" or set $sem_id to a different value.

    thanks for mentioning locking it got things caching on one of my sites.

  7. dragonwize
    Member
    Posted 3 years ago #

    I had this same issue. Making the wp-content/cache/wp_cache_mutex.lock file writable fix the issue. That is also not mentioned in the the readme.

  8. Donncha O Caoimh
    Member
    Posted 3 years ago #

    Ok, that'll teach me. I updated the code without updating the readme but that's done now. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic