Skip to content

Instantly share code, notes, and snippets.

@bretthoerner
Created February 22, 2011 19:21
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bretthoerner/839193 to your computer and use it in GitHub Desktop.
Save bretthoerner/839193 to your computer and use it in GitHub Desktop.
activerehashing yes
appendfsync everysec
appendonly no
bind 0.0.0.0
daemonize yes
databases 1
dbfilename dump_1.rdb
dir /var/redis/
glueoutputbuf yes
hash-max-zipmap-entries 512
hash-max-zipmap-value 64
list-max-ziplist-entries 512
list-max-ziplist-value 64
logfile /var/log/redis/redis-server.log
loglevel verbose
maxmemory 3087007744
pidfile /var/run/redis.pid
port 6380
rdbcompression yes
save 300 10
save 60 10000
save 900 1
set-max-intset-entries 512
timeout 300
vm-enabled no
vm-max-memory 1024
vm-max-threads 4
vm-pages 134217728
vm-page-size 32
vm-swap-file /tmp/redis.swap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment