Title: [Plugin: WP Super Cache] site keeps crashing
Last modified: August 20, 2016

---

# [Plugin: WP Super Cache] site keeps crashing

 *  [pluggyboy](https://wordpress.org/support/users/pluggyboy/)
 * (@pluggyboy)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/)
 * Hi Donncha,
 * my site is a fairly heavy custom wp build, with around 50,000 articles and 20,000
   + registered users. Since we installed wp super cache the site has been performing
   amazingly under load (better than any of the other caching plugins, tried ’em
   all so well done for that!).
 * However… we’re getting whole site crashes pretty regularly (every few hours) 
   which are only rectifiable by renaming the wp super cache folder via ftp, and
   then reverting to the correct folder name when live.
 * We’ve got the site running over 2 x quad core machines, i’ve increased php memory
   limit and defined WP_MEMORY_LIMIT.
 * Site is at [http://www.c21media.net](http://www.c21media.net), and I’m happy 
   to pay for your consultancy services in getting this running properly asap. Please
   contact me dave [at] brandydigital [dot] com. thanks in advance or Skype [@pluggyboy](https://wordpress.org/support/users/pluggyboy/).
 * [http://wordpress.org/extend/plugins/wp-super-cache/](http://wordpress.org/extend/plugins/wp-super-cache/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/#post-2434832)
 * You’re running it on 2 machines? Do you have a shared folder for the cached folder?
   That might be the reason for the crashes. If you using 2 machines I’d recommend
   Batcache as that uses memcached to store the cached files.
 *  Thread Starter [pluggyboy](https://wordpress.org/support/users/pluggyboy/)
 * (@pluggyboy)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/#post-2434892)
 * the site on one machine, the dbase on the other machine. we think the issue may
   be with APC so are turning that off on the server for the time being.
 * Are there any known issues running this along side the plugin?
 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/#post-2434895)
 * Ah, I’ve had problems with APC too. Xcache works better although I think I’ve
   had problems with that too! I eventually [put varnish in front of](http://ocaoimh.ie/2011/08/09/speed-up-wordpress-with-apache-and-varnish/)
   Apache to make my site even faster.
 *  Thread Starter [pluggyboy](https://wordpress.org/support/users/pluggyboy/)
 * (@pluggyboy)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/#post-2434897)
 * will give that a go. unfortunately, it seems that APC wasn’t causing the issue…
   any other ideas? able to take a (paid) look for me?
 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/#post-2434903)
 * You have 20,000 registered users. Do they have to be logged in to use the site?
   That nullifies most of the advantages of a full page caching plugin as each cached
   page will contain personal info (like the comment form) and the plugin will create
   legacy wp-cache files.
 * You could change the expiry down to 3600 seconds, or even lower, and a scheduled
   timer of 3700 seconds (just a little more than the expiry in other words) as 
   that will clear out the vast numbers of legacy cache files that will accumulate.
 *  Thread Starter [pluggyboy](https://wordpress.org/support/users/pluggyboy/)
 * (@pluggyboy)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/#post-2434906)
 * the majority of users visit the site in non-logged in mode, so i’m not sure that
   this is causing the issue. looking in the cache at most times, i’m only seeing
   like 10 – 20 files in each cache: [http://screencast.com/t/btPjjkajiS8](http://screencast.com/t/btPjjkajiS8)
   so i can’t see that the legacy cache files would be the issue either..
 * any other ideas?
 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/#post-2434926)
 * I’d have expected a lot more than 20 files with 20,000 registered users and that
   much content. Something odd is happening on your site!
 *  Thread Starter [pluggyboy](https://wordpress.org/support/users/pluggyboy/)
 * (@pluggyboy)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/#post-2434954)
 * yes, clearly. I’m running it along with Cloudflare.com, might that be causing
   any issues? I’m looking at the cache stats right now, and there’s nothing in 
   the cache at all…
 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/#post-2434956)
 * I can’t think of what might be causing this problem for you, sorry. You could
   try examining the cache directory next time you have to rename it – maybe there’s
   some page cached there that shouldn’t be.
 *  Thread Starter [pluggyboy](https://wordpress.org/support/users/pluggyboy/)
 * (@pluggyboy)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/#post-2434970)
 * hey, quick update for you… I ended up turning off Cloudflare, but found that 
   whilst the site was no longer crashing, the cache was still being completely 
   emptied on a regular basis.
 * Overnight, i’ve had someone go through the code and establish that it was a line
   of code in the buddypress core (bp-core.php line 1888) which was causing the 
   whole cache to empty each time an article was edited / published:
 * return prune_super_cache( $cache_path, true );
 * commented out that line, and hey presto, i’ve now got 5000 pages in the cache
   and growing. hth in case it crops up for anyone else.
 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/#post-2434971)
 * Ah yes. Buddypress has code in there to clear the cache. I should add a warning
   about that in the readme.txt. Unfortunately nobody has fixed that in BP yet and
   it’s been in there for several years.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘[Plugin: WP Super Cache] site keeps crashing’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-site-keeps-crashing/#post-2434971)
 * Status: not resolved