사용하고 있는 redis config 정보입니다.

 

 

=============================== redis.conf ============================

 

bind 10.10.10.10 127.0.0.1

port 9380
tcp-backlog 5000
timeout 0
tcp-keepalive 300
daemonize yes
supervised no

pidfile "session_m1_9380.pid"

loglevel notice

logfile "session_m1_9380.log"

 

databases 16

#save 900 1
#save 300 10
#save 60 10000

 

include  /tmp/cache/common/common.conf

 

stop-writes-on-bgsave-error no
rdbcompression yes
rdbchecksum yes

dbfilename "dump.rdb"

dir "/tmp/cache/session_m1_9380"

slave-serve-stale-data yes
slave-read-only yes
repl-diskless-sync no
repl-diskless-sync-delay 5
repl-disable-tcp-nodelay no
repl-backlog-size 1gb
repl-backlog-ttl 3600
slave-priority 10

 

maxclients 10000
maxmemory 24gb
maxmemory-policy allkeys-lru
appendonly no

appendfilename "appendonly.aof"

appendfsync everysec
no-appendfsync-on-rewrite no
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 32mb
aof-load-truncated yes
lua-time-limit 5000

 

cluster-enabled yes

cluster-config-file "session_m1_9380.info"

cluster-node-timeout 5000
cluster-slave-validity-factor 10
cluster-migration-barrier 1
cluster-require-full-coverage no

 

slowlog-log-slower-than 10000
slowlog-max-len 128

latency-monitor-threshold 0
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

activerehashing yes

client-output-buffer-limit normal 0 0 0
client-output-buffer-limit slave 512mb 512mb 0
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
aof-rewrite-incremental-fsync yes

 

 

 

======================= common.conf ===========================

 

rename-command FLUSHDB   3423942ERIWERI2342394

rename-command FLUSHALL  393249239423942341234

rename-command CONFIG  ""

rename-command KEYS  ""

rename-command DEBUG ""

rename-command SAVE ""

 

masterauth 993482384234serweriweriweir

requirepass 993482384234serweriweriweir

 

'Cache > redis' 카테고리의 다른 글

redis and logstash 모니터링  (0) 2020.06.18
redis cluster 구성  (0) 2017.05.02
redis 운영 명령어  (0) 2017.04.20

+ Recent posts