Skip to content

Instantly share code, notes, and snippets.

@superfeedr
Created January 18, 2011 22:28
Show Gist options
  • Save superfeedr/785288 to your computer and use it in GitHub Desktop.
Save superfeedr/785288 to your computer and use it in GitHub Desktop.
daemonize no
pidfile /var/run/redis.pid
port 6379
timeout 300
loglevel verbose
logfile /var/log/redis/server.log
databases 16
rdbcompression yes
dbfilename dump.rdb
dir /var/lib/redis
maxclients 512
appendonly yes
appendfilename appendonly.aof
appendfsync everysec
vm-enabled yes
vm-swap-file /tmp/redis.swap
vm-max-memory 8GB
vm-page-size 8192
vm-pages 16777216
vm-max-threads 4
glueoutputbuf yes
hash-max-zipmap-entries 64
hash-max-zipmap-value 512
activerehashing yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment