Title: About maxmemory configuration
Last modified: September 12, 2022

---

# About maxmemory configuration

 *  Resolved [seotaro](https://wordpress.org/support/users/seotaro/)
 * (@seotaro)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/about-maxmemory-configuration/)
 * Hello.
 * I run 3 WordPress websites on single VPS server and all websites`s database are
   seperated. (Ubuntu 20.04 + Mariadb + Php7.4 + Nginx)
 * And i set maxmemory as 128M and allkeys-lfu.
 * In this case, All my websites spend memory 128m each?
 * So, Should my server have at least 384m of free memory?
    (128 + 128 + 128 = 384m)
 * If not, would the 3 sites consume a total of 128m of memory?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/about-maxmemory-configuration/#post-16006122)
 * You can’t set a memory limit per site, you’ll need to see how large your WordPress
   cache datasets are and adjust your MaxTTL accordingly to keep it around your 
   desired value.

Viewing 1 replies (of 1 total)

The topic ‘About maxmemory configuration’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/about-maxmemory-configuration/#post-16006122)
 * Status: resolved