Created
December 14, 2013 05:42
-
-
Save abh1nav/7956035 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 no | |
pidfile /var/run/redis.pid | |
port 6379 | |
timeout 0 | |
tcp-keepalive 0 | |
loglevel notice | |
logfile stdout | |
databases 8 | |
save 300 1 | |
save 60 10 | |
save 30 100 | |
stop-writes-on-bgsave-error yes | |
rdbcompression yes | |
rdbchecksum yes | |
dbfilename dump.rdb | |
dir /opt/redis/ | |
slave-serve-stale-data yes | |
slave-read-only yes | |
repl-disable-tcp-nodelay no | |
slave-priority 100 | |
appendonly yes | |
appendfilename appendonly.aof | |
appendfsync everysec | |
no-appendfsync-on-rewrite no | |
auto-aof-rewrite-percentage 100 | |
auto-aof-rewrite-min-size 64mb | |
lua-time-limit 5000 | |
slowlog-max-len 128 | |
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 | |
client-output-buffer-limit normal 0 0 0 | |
client-output-buffer-limit slave 256mb 64mb 60 | |
client-output-buffer-limit pubsub 32mb 8mb 60 | |
hz 10 | |
aof-rewrite-incremental-fsync yes |
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
[program:redis] | |
command=/usr/local/bin/redis-server /etc/redis.conf | |
directory=/opt/redis | |
user=ubuntu | |
group=ubuntu | |
autostart=false | |
autorestart=true | |
startsecs=5 | |
startretries=999 | |
redirect_stderr=false | |
stdout_logfile=/var/log/redis/log | |
stdout_logfile_maxbytes=10MB | |
stdout_logfile_backups=1 | |
stdout_events_enabled=true | |
stderr_logfile=/var/log/redis/errors | |
stderr_logfile_maxbytes=10MB | |
stderr_logfile_backups=1 | |
stderr_events_enabled=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment