WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] Cache not clearing. Get white screen instead (13 posts)

  1. databell96
    Member
    Posted 12 months ago #

    I'm preparing a site redesign on BlueHost. Installed W3TC awhile back but now if I try to clear the page cache or all caches, I can't. Server just attempts to connect and then times out with a white screen on a url like http://www.yoursite.org/wp-admin/admin.php?page=w3tc_pgcache

    Seems like a server timeout to me.

    Is there any way I can make the cache flush?

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Sean Donovan
    Member
    Posted 12 months ago #

    Likely because your cache is humungous - http://wordpress.org/support/topic/wp-contentcache-folder-at-20-gb

    W3 database caching creates an enormous mess.

  3. databell96
    Member
    Posted 12 months ago #

    Yea, I was thinking that. How do I clear the cache manually so I can at least get back to normal?

  4. Sean Donovan
    Member
    Posted 12 months ago #

    Either through FTP by deleting everything under the cache and w3tc directory or through SSH.

    FTP will take hours if the cache is large as it has to recurse into the directory.

    Best is probably to ask your host to do it, as it's in their best interest not to have a huge number of useless files floating around.

  5. databell96
    Member
    Posted 12 months ago #

    I'm deleting the cache folder contents now. I don't see a w3tc folder but I do see a w3tc-config folder. Same thing?

  6. Sean Donovan
    Member
    Posted 12 months ago #

    No, W3TC needs the config folder

  7. databell96
    Member
    Posted 12 months ago #

    Got a response back from BlueHost. They weren't helpful at all. All they gave me was this link which really doesn't help matters. The cache still isn't completely deleted. It's that large. There has to be a better way than just deleting via FTP.

  8. Sean Donovan
    Member
    Posted 12 months ago #

    Lol, that won't work because there are way too many file to clear the cache which times out PHP...

    I've been clearing the cache via an SSH bash script:

    #!/bin/bash
    echo "Running clear command"
    rm -rf /home/<complete directory to your blog/>/blog/wp-content/cache/*
    echo "Cleared"

    and replace "<complete directory to your blog>" with the exact directory, i.e. /home/myusername/http/wp-content/cache/*

    Few shared hosts give you access to the command line though.

    (FYI - Running a bash script via PHP, although possible, will likely fail too)

    GL.

  9. mrkingid
    Member
    Posted 11 months ago #

    Is this ever going to be fixed. This issue makes the plugin useless!!!

  10. databell96
    Member
    Posted 11 months ago #

    Well, I used the SSH script in Terminal and the cache did clear. So thanks to Sean for that script. It worked. Next step is to find a way I can run a daily or weekly cron job to run said script again.

  11. Sean Donovan
    Member
    Posted 10 months ago #

    I think the most recent version of W3 Total Cache fixed this problem.

  12. Lone Shooter
    Member
    Posted 10 months ago #

    No, the problem is not fixed. If you use enhanced disk caching, the cache files are just stay there causing increasing number of inodes during the time. For some reason they can't be deleted with Empty Cache feature even the cache folder's permissions are valid.

  13. dreamsoft
    Member
    Posted 7 months ago #

    same problem here, only that it's not a timeout, its just an white screen when I try to empty cache

Reply

You must log in to post.

About this Plugin

About this Topic