From f9ef912c661a8d0a0690e20dc46f29484e0e4a5e Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 8 Feb 2012 00:20:46 +0100 Subject: [PATCH] more practical maxmemory+slaves hint in redis.conf --- redis.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/redis.conf b/redis.conf index 62d816ff..4760f291 100644 --- a/redis.conf +++ b/redis.conf @@ -219,6 +219,10 @@ slave-serve-stale-data yes # buffer of slaves is full with DELs of keys evicted triggering the deletion # of more keys, and so forth until the database is completely emptied. # +# In short... if you have slaves attached it is suggested that you set a lower +# limit for maxmemory so that there is some free RAM on the system for slave +# output buffers (but this is not needed if the policy is 'noeviction'). +# # maxmemory # MAXMEMORY POLICY: how Redis will select what to remove when maxmemory