Title: Redis cache &#8220;Current Items&#8221; keeps increasing
Last modified: March 31, 2023

---

# Redis cache “Current Items” keeps increasing

 *  Resolved [naveen8878](https://wordpress.org/support/users/naveen8878/)
 * (@naveen8878)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/redis-cache-current-items-keeps-increasing/)
 * Hi,
 * We have w3tc pro version, we have the redis cache implemented and we are seeing
   current items keeps piling up and the memory is reaching 100% (m6g.large – 6GB
   mem) and its getting filled. We have provisioned this only for Page Cache and
   Maximum lifetime of cache objects set is 24hours.
 * This is bringing down our site continuously because of the issue.
 * Please help us at the earlierst.
 * Thanks,

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/redis-cache-current-items-keeps-increasing/#post-16614378)
 * Hello [@naveen8878](https://wordpress.org/support/users/naveen8878/)
 * Thank you for reaching out.
 * The most likely reason for this is the maximum lifetime of objects you’ve set
 * The default is 3600s and if you have a big website, with a lot of updates ad 
   the cache is purged occasionally, the _old files may remain there piling up in
   the memory.
   Now the “maximum lifetime of objects” is added with the compatibility
   mode option and it’s shown only when disk-enhanced is used. If you have had Disk:
   Enhanced enabled and then switched to Redis else there is a possibility that 
   the Compatibility mode was selected and now affects browser cache rules historically.
   Two things that you can do potentially. You can switch back to Disk: Enhanced
   save all settings and then disable compatibility mode, save all settings, and
   purge caches. The other thing that you can do is to manually remove W3TC rules
   from .htaccess and leave the .htaccess only with WP default rules. This will 
   allow W3 Total Cache to write new set of rules to your .htaccess file.I hope 
   this helps!
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Redis cache “Current Items” keeps increasing’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/redis-cache-current-items-keeps-increasing/#post-16614378)
 * Status: resolved