Title: Memcache toggle turns itself off
Last modified: January 15, 2019

---

# Memcache toggle turns itself off

 *  Resolved [Sean](https://wordpress.org/support/users/sean-h/)
 * (@sean-h)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/)
 * This is not a pressing issue as our site still loads fine either way, I can’t
   really notice any change in speed. So I am maybe more curious as to why the memcache
   toggle in the SG Optimizer plugin keeps turning itself off after a few days.
 * Memcache is on in cPanel, I then turn it on in the plugin and it confirms memcache
   is on. I go away and check the next day, still on. After maybe 2 or 3 days I 
   find it simply off with no warning or notices of any kind, just off.
 * I have been in touch with SG support and they said something about resetting 
   the port by turning it off and on again in cPanel, yet the ‘problem’ persists.
 * What I have also found is core dump files in wp-admin. It’s been a while since
   I’ve seen such files, I know what they are, so I deleted them. A few more showed
   up, deleted those, and it’s been a few days since and no new ones have presented
   themselves.
 * What causes these core dumps is what I don’t know. I once looked into a core 
   dump file, but unless you really know what to look for, its not easy to make 
   any sense of whats in there, and they can be huge.
 * Can this memcache toggle anomaly be related to the core dump files I’m seeing?
   The core dumps have stopped, yet the memcache keeps turning itself off.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/page/2/?output_format=md)

 *  Plugin Author [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [7 years, 7 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11091803)
 * Core Dump files are created by PHP 7.1 when it runs out of memory. Doubt that
   it’s related. Which plugin version you’re using? We had a bug but it was patched
   in 5.0.12?
 *  Thread Starter [Sean](https://wordpress.org/support/users/sean-h/)
 * (@sean-h)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11094667)
 * I’ve actually just switched to php 7.3 and updated the plugin to the latest version.
   So far, so good.
 * Wordfence notifies me on a daily basis if there are any core dump files and I
   simply delete them from within WF. It’s been a few days now and nothing new, 
   so lets see if php 7.3 makes a difference.
 * The memcache toggle remains a mystery.
 *  Plugin Author [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [7 years, 7 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11094675)
 * What’s your WP Memory config?
 *  Thread Starter [Sean](https://wordpress.org/support/users/sean-h/)
 * (@sean-h)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11094745)
 * This: (from wp-config.php)
 * define( ‘WP_MEMORY_LIMIT’, ‘512M’ );
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘768M’ );
 * Are there any other WP memory settings elsewhere?
 *  Plugin Author [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [7 years, 7 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11095257)
 * No, those are the memory settings. Could you lower them a bit. I know you’re 
   on GoGeek and 712M is the upper limit but if you have multiple processes not 
   limited they can accumulate and some of them may find themselves under the limit
   generating the .core files. Set them to 448M / 704M and check if PHP 7 keeps 
   generating them if possible.
 *  Thread Starter [Sean](https://wordpress.org/support/users/sean-h/)
 * (@sean-h)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11099216)
 * I have lowered those limits. But what about the memory limits in php.ini?
    -  This reply was modified 7 years, 7 months ago by [Sean](https://wordpress.org/support/users/sean-h/).
      Reason: Punctuation
    -  This reply was modified 7 years, 7 months ago by [Sean](https://wordpress.org/support/users/sean-h/).
 *  [bouncern](https://wordpress.org/support/users/bouncern/)
 * (@bouncern)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11157882)
 * We’re getting the same thing on our WordPress Multisite configuration.
 * We’ve altered the wp_config settings (as described above), but Memcached keeps
   turning itself off?
 * As Sean says, it’s not urgent as performance is still fine. Something you may
   wish to investigate however.
 *  [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * (@jetxpert)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11159599)
 * All,
 * Same problem here. Memcached keeps turning itself off. We opened a ticket with
   SiteGround and were told that SG Developers are working on a fix which will be
   provided at next revision level.
 * Recommend re-opening this topic until issue is Resolved. To date, it’s not.
 * Cheers!
 *  [bhagwad](https://wordpress.org/support/users/bhagwad/)
 * (@bhagwad)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11362099)
 * Can confirm this happens for me as well. Memcached in the SG Optimizer plugin
   randomly turns itself off.
 *  [natekinkead](https://wordpress.org/support/users/natekinkead/)
 * (@natekinkead)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11364450)
 * I’m having the same issue as well. Memcached toggle in SG Optimizer plugin keeps
   turning itself off after a day or two.
 *  [natekinkead](https://wordpress.org/support/users/natekinkead/)
 * (@natekinkead)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11364460)
 * I take that back. Not a day or two… it’s only a matter of a couple minutes before
   it turns off again.
 *  Thread Starter [Sean](https://wordpress.org/support/users/sean-h/)
 * (@sean-h)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11365201)
 * I just noticed something interesting the other day.
 * The ‘problem’ still persists on my main site, but I also have 2 other WP installations,
   in the same GoGeek account, and it is not happening on either of them. Memcache
   stays on. Thing is these other 2 sites are just very basic landing/coming soon
   pages, which says to me there’s something in a developed/more dynamic site thats
   causes this memcache issue. But what could it be?
 *  [NF](https://wordpress.org/support/users/nanasflowers/)
 * (@nanasflowers)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11603746)
 * Not sure why this topic has been marked resolved.
 * I’ve had this problem all year, notified Siteground on many occasions and they
   said a fix would be released in the next update, there was an update today and
   it still keeps happening.
 *  Plugin Author [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [7 years, 2 months ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11603821)
 * We didn’t manage to include the fix in this release, it will be added in the 
   next one.
 *  [NF](https://wordpress.org/support/users/nanasflowers/)
 * (@nanasflowers)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/#post-11685794)
 * This still doesn’t appear to be fixed in the latest update?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/page/2/?output_format=md)

The topic ‘Memcache toggle turns itself off’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

## Tags

 * [sg](https://wordpress.org/support/topic-tag/sg/)

 * 16 replies
 * 7 participants
 * Last reply from: [Sean](https://wordpress.org/support/users/sean-h/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/memcache-toggle-turns-itself-off/page/2/#post-11685829)
 * Status: resolved