Created
September 14, 2022 17:32
-
-
Save micheleberardi/a06ed514c121c548205026b0b946bfa6 to your computer and use it in GitHub Desktop.
redis.conf
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
bind 127.0.0.1 | |
protected-mode yes | |
port 6379 | |
tcp-backlog 65384 | |
unixsocket /tmp/redis_6379.sock | |
unixsocketperm 700 | |
timeout 0 | |
tcp-keepalive 300 | |
daemonize no | |
supervised no | |
pidfile /var/run/redis_6379.pid | |
loglevel notice | |
logfile /var/log/redis/redis_6379.log | |
databases 16 | |
always-show-logo yes | |
#save 900 1 | |
#save 300 10 | |
#save 60 10000 | |
stop-writes-on-bgsave-error yes | |
stop-writes-on-bgsave-error yes | |
rdbcompression no | |
rdbchecksum no | |
dbfilename dump_6379.rdb | |
rdb-del-sync-files no | |
dir /var/lib/redis | |
replica-serve-stale-data yes | |
replica-read-only yes | |
repl-diskless-sync no | |
repl-diskless-sync-delay 5 | |
repl-diskless-load disabled | |
repl-disable-tcp-nodelay no | |
replica-priority 100 | |
acllog-max-len 128 | |
maxclients 1000000 | |
lazyfree-lazy-expire no | |
lazyfree-lazy-server-del no | |
replica-lazy-flush no | |
lazyfree-lazy-user-del no | |
oom-score-adj no | |
oom-score-adj-values 0 200 800 | |
appendonly no | |
appendfilename "appendonly.aof" | |
appendfsync no | |
no-appendfsync-on-rewrite no | |
auto-aof-rewrite-percentage 0 | |
auto-aof-rewrite-min-size 64mb | |
aof-load-truncated yes | |
aof-use-rdb-preamble yes | |
lua-time-limit 5000 | |
slowlog-log-slower-than 10000 | |
slowlog-max-len 128 | |
latency-monitor-threshold 0 | |
notify-keyspace-events "" | |
hash-max-ziplist-entries 512 | |
hash-max-ziplist-value 64 | |
list-max-ziplist-size -2 | |
list-compress-depth 0 | |
set-max-intset-entries 512 | |
zset-max-ziplist-entries 128 | |
zset-max-ziplist-value 64 | |
hll-sparse-max-bytes 3000 | |
stream-node-max-bytes 4096 | |
stream-node-max-entries 100 | |
activerehashing yes | |
client-output-buffer-limit normal 0 0 0 | |
client-output-buffer-limit replica 0 0 0 | |
client-output-buffer-limit pubsub 0 0 0 | |
hz 10 | |
dynamic-hz yes | |
aof-rewrite-incremental-fsync yes | |
protected-mode no | |
rdb-save-incremental-fsync yes | |
activedefrag yes | |
jemalloc-bg-thread yes | |
appendonly no | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment