more practical maxmemory+slaves hint in redis.conf

This commit is contained in:
antirez 2012-02-08 00:20:46 +01:00
parent cebb7b92ce
commit f9ef912c66

View File

@ -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 <bytes>
# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory