Created
September 13, 2013 10:34
-
-
Save lancelakey/6549082 to your computer and use it in GitHub Desktop.
redis configuration
This file contains hidden or 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/6379/redis_6379.pid | |
port 6379 | |
timeout 0 | |
loglevel notice | |
syslog-enabled yes | |
syslog-ident redis-6379 | |
syslog-facility local0 | |
databases 16 | |
save 900 1 | |
save 300 10 | |
save 60 10000 | |
rdbcompression yes | |
dbfilename dump-6379.rdb | |
dir /var/lib/redis | |
slave-serve-stale-data yes | |
repl-ping-slave-period 10 | |
repl-timeout 60 | |
maxclients 10000 | |
maxmemory-policy volatile-lru | |
maxmemory-samples 3 | |
appendonly yes | |
appendfilename appendonly-6379.aof | |
appendfsync everysec | |
no-appendfsync-on-rewrite no | |
auto-aof-rewrite-percentage 100 | |
auto-aof-rewrite-min-size 64mb | |
slowlog-log-slower-than 10000 | |
slowlog-max-len 1024 | |
hash-max-ziplist-entries 512 | |
hash-max-ziplist-value 64 | |
list-max-ziplist-entries 512 | |
list-max-ziplist-value 64 | |
set-max-intset-entries 512 | |
zset-max-ziplist-entries 128 | |
zset-max-ziplist-value 64 | |
activerehashing yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment