# wp: New fix for redis max memory worked!

- Link: https://tongfamily.com/2024/01/16/wp-new-fix-for-redis-max-memory-worked/
- Published: 2024-01-16T12:33:28-08:00
- Author: rich

It took a while for all this to propagate, but looking at the [Digital Ocean](https://richtong.net/2020/04/21/digitalocean-wordpress-database-connection-cannot-be-reestablished/)
plots, you can see what was happening was lots of thrashing as the redis cached 
into the disk-based swapfile. While the memory load remains high at nearly 100%,
you can see the CPU utilization has dropped from 75% to more like 20% when it is
idle with peaks at 50%.

Also, you can see the Disk I/O has shrunk a lot from 50-200MBps to basically zero.
So hopefully you don’t misconfigure [redis](https://richtong.net/2024/01/16/wp-how-to-fix-wordpress-crashes-due-to-redis-memory/)
as I did. The net is that my page load speeds have shrunk from nine seconds to more
like three seconds. The biggest problem right now is loading the Mastodon posts,
but the Friends plugin doesn’t seem to cause much load.

And I’m discontinuing tooting to Mastodon as I will just like this and use WordPress
as a Mastodon client in effect (more on that in the next post)

![](https://i0.wp.com/richtong.net/wp-content/uploads/2024/01/digitalocean-tongfamily.
com-2024-01-15-1.jpg?resize=704%2C1024&ssl=1)

### Share this:

 * [  Mastodon ](https://tongfamily.com/2024/01/16/wp-new-fix-for-redis-max-memory-worked/?share=mastodon)
 * [  LinkedIn ](https://tongfamily.com/2024/01/16/wp-new-fix-for-redis-max-memory-worked/?share=linkedin)
 * [  Facebook ](https://tongfamily.com/2024/01/16/wp-new-fix-for-redis-max-memory-worked/?share=facebook)
 * [  WhatsApp ](https://tongfamily.com/2024/01/16/wp-new-fix-for-redis-max-memory-worked/?share=jetpack-whatsapp)
 * [  Email ](https://tongfamily.com/2024/01/16/wp-new-fix-for-redis-max-memory-worked/?subject=%5BShared%20Post%5D%20wp%3A%20New%20fix%20for%20redis%20max%20memory%20worked%21&body=https%3A%2F%2Ftongfamily.com%2F2024%2F01%2F16%2Fwp-new-fix-for-redis-max-memory-worked%2F&share=email)
 * [More](https://tongfamily.com/2024/01/16/wp-new-fix-for-redis-max-memory-worked/#)

 * [  Telegram ](https://tongfamily.com/2024/01/16/wp-new-fix-for-redis-max-memory-worked/?share=telegram)
 * [  Print ](https://tongfamily.com/2024/01/16/wp-new-fix-for-redis-max-memory-worked/#print?share=print)
 * [  Pinterest ](https://tongfamily.com/2024/01/16/wp-new-fix-for-redis-max-memory-worked/?share=pinterest)
 * [  Tumblr ](https://tongfamily.com/2024/01/16/wp-new-fix-for-redis-max-memory-worked/?share=tumblr)
 * [  X ](https://tongfamily.com/2024/01/16/wp-new-fix-for-redis-max-memory-worked/?share=twitter)

### Like this:

Like Loading…
