Created
June 26, 2011 20:06
-
-
Save davidcelis/1047923 to your computer and use it in GitHub Desktop.
redis.conf
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
daemonize yes | |
pidfile /var/run/redis.pid | |
logfile /var/log/redis.log | |
port 6379 | |
bind 127.0.0.1 | |
timeout 300 | |
loglevel notice | |
## Default configuration options | |
databases 1 | |
# save 900 1 | |
# save 300 10 | |
# save 60 10000 | |
# rdbcompression yes | |
# dbfilename dump.rdb | |
dir /opt/redis/ | |
appendonly yes | |
appendfilename appendonly.aof | |
appendfsync everysec | |
glueoutputbuf yes | |
vm-enabled yes | |
vm-swap-file /etc/redis/redis.swap | |
vm-max-memory 268435456 | |
vm-page-size 32 | |
vm-pages 134217728 | |
vm-max-threads 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment