Title: cache full
Last modified: January 27, 2021

---

# cache full

 *  Resolved [rashkoff](https://wordpress.org/support/users/rashkoff/)
 * (@rashkoff)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cache-full/)
 * Hello,
    lately after a few days the redis cache “stop” working. the backend became
   extremely slow. It’s seem like the cache memory is full. The flush button disappear
   [https://tinyurl.com/y2j867l5](https://tinyurl.com/y2j867l5) After running the
   command: redis-cli FLUSHALL, everything’s back to normal
 * How can I solve this? Increase the buffer or flush the redis cache automatedly
   every 2-3 days (maybe with cron job)?
 * Thanks
    Ricky

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

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cache-full/#post-13977458)
 * Ideally just set a MaxTTL, that way Redis doesn’t have to evict keys and you 
   won’t have a CPU spike.
 *  Thread Starter [rashkoff](https://wordpress.org/support/users/rashkoff/)
 * (@rashkoff)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cache-full/#post-13981876)
 * Hello Till
    thanks for the answer where should I set the MaxTTL?
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cache-full/#post-13987720)
 * You can find more on that here: [https://github.com/rhubarbgroup/redis-cache/wiki](https://github.com/rhubarbgroup/redis-cache/wiki)
 *  Thread Starter [rashkoff](https://wordpress.org/support/users/rashkoff/)
 * (@rashkoff)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cache-full/#post-13991842)
 * Hello
    thanks! this will automatically delete cache keys after 3 days? `// define('
   WP_REDIS_MAXTTL', 60 * 60 * 24 * 3 );`
 * Any other set up is necessary?
 * Thanks
    Ricky
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cache-full/#post-13992709)
 * That’s it 👍🏻
 *  Thread Starter [rashkoff](https://wordpress.org/support/users/rashkoff/)
 * (@rashkoff)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/cache-full/#post-13992774)
 * Thanks again

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

The topic ‘cache full’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [rashkoff](https://wordpress.org/support/users/rashkoff/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/cache-full/#post-13992774)
 * Status: resolved