Created
June 10, 2013 17:55
-
-
Save mmcdaris/5750838 to your computer and use it in GitHub Desktop.
sample redis conf for RDB only
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#== process config ======================= | |
daemonize yes | |
pidfile /var/run/redis6378.pid | |
#== logs ================================= | |
loglevel verbose | |
logfile stdout | |
#== network ============================== | |
port 6378 | |
timeout 300 | |
#== logs ================================= | |
loglevel verbose | |
logfile stdout | |
#== database config ====================== | |
databases 16 | |
maxmemory 13gb | |
#== replication ========================== | |
#-- snapshots ---------------- | |
dir /var/lib/stormcloud-redis | |
dbfilename master6378.rdb | |
rdbcompression yes | |
save 900 1 | |
save 300 10 | |
save 60 10000 | |
#-- aof ---------------------- | |
appendonly no | |
appendfsync no | |
#== vm ================================== | |
vm-enabled no | |
vm-swap-file /tmp/redis-master.swap | |
vm-max-memory 0 | |
vm-page-size 32 | |
vm-pages 134217728 | |
vm-max-threads 4 | |
#== hash encoding ======================= | |
hash-max-zipmap-entries 512 | |
hash-max-zipmap-value 64 | |
activerehashing yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment