Skip to content

Instantly share code, notes, and snippets.

@mmcdaris
Created June 10, 2013 17:55
Show Gist options
  • Save mmcdaris/5750838 to your computer and use it in GitHub Desktop.
Save mmcdaris/5750838 to your computer and use it in GitHub Desktop.
sample redis conf for RDB only
#== 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