redis Mem usage is Critical

42 views
Skip to first unread message

ja...@jumpboxcentral.com

unread,
Mar 12, 2018, 3:27:21 PM3/12/18
to Redis DB
Guys -

Fairly new to Redis from admin perspective and got my redis config from the redis-cli, pasted below. Do you guys see anything we can adjust to help the memory issue? We keep our ttl for our current keys at 3 hours. Is there a way to flush older keys to free up some space without flushing everything? Thanks for the help. 

"dbfilename"

  2) "tmp.rdb"

  3) "requirepass"

  4) ""

  5) "masterauth"

  6) ""

  7) "unixsocket"

  8) ""

  9) "logfile"

 10) "/var/log/redis/redis.log"

 11) "pidfile"

 12) "/var/run/redis/redis.pid"

 13) "maxmemory"

 14) "8589934592"

 15) "maxmemory-samples"

 16) "3"

 17) "timeout"

 18) "0"

 19) "tcp-keepalive"

 20) "0"

 21) "auto-aof-rewrite-percentage"

 22) "100"

 23) "auto-aof-rewrite-min-size"

 24) "67108864"

 25) "hash-max-ziplist-entries"

 26) "512"

 27) "hash-max-ziplist-value"

 28) "64"

 29) "list-max-ziplist-entries"

 30) "512"

 31) "list-max-ziplist-value"

 32) "64"

 33) "set-max-intset-entries"

 34) "512"

 35) "zset-max-ziplist-entries"

 36) "128"

 37) "zset-max-ziplist-value"

 38) "64"

 39) "hll-sparse-max-bytes"

 40) "3000"

 41) "lua-time-limit"

 42) "5000"

 43) "slowlog-log-slower-than"

 44) "10000"

 45) "latency-monitor-threshold"

 46) "0"

 47) "slowlog-max-len"

 48) "128"

 49) "port"

 50) "6379"

 51) "tcp-backlog"

 52) "511"

 53) "databases"

 54) "16"

 55) "repl-ping-slave-period"

 56) "10"

 57) "repl-timeout"

 58) "60"

 59) "repl-backlog-size"

 60) "1048576"

 61) "repl-backlog-ttl"

 62) "3600"

 63) "maxclients"

 64) "10000"

 65) "watchdog-period"

 66) "0"

 67) "slave-priority"

 68) "100"

 69) "min-slaves-to-write"

 70) "0"

 71) "min-slaves-max-lag"

 72) "10"

 73) "hz"

 74) "10"

 75) "repl-diskless-sync-delay"

 76) "5"

 77) "no-appendfsync-on-rewrite"

 78) "no"

 79) "slave-serve-stale-data"

 80) "yes"

 81) "slave-read-only"

 82) "yes"

 83) "stop-writes-on-bgsave-error"

 84) "yes"

 85) "daemonize"

 86) "no"

 87) "rdbcompression"

 88) "yes"

 89) "rdbchecksum"

 90) "yes"

 91) "activerehashing"

 92) "yes"

 93) "repl-disable-tcp-nodelay"

 94) "no"

 95) "repl-diskless-sync"

 96) "no"

 97) "aof-rewrite-incremental-fsync"

 98) "yes"

 99) "aof-load-truncated"

100) "yes"

101) "appendonly"

102) "no"

103) "dir"

104) "/tmp/redis"

105) "maxmemory-policy"

106) "volatile-lru"

107) "appendfsync"

108) "everysec"

109) "save"

110) "900 1 300 10 60 10000"

111) "loglevel"

112) "notice"

113) "client-output-buffer-limit"

114) "normal 0 0 0 slave 268435456 67108864 60 pubsub 33554432 8388608 60"

115) "unixsocketperm"

116) "0"

117) "slaveof"

118) ""

119) "notify-keyspace-events"

120) ""

121) "bind"

122) ""

Tyler Sullens

unread,
Mar 12, 2018, 3:40:24 PM3/12/18
to redi...@googlegroups.com
What exactly is your memory issue?

Tyler Sullens
DevOps Engineer
NPR Digital Media

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

hva...@gmail.com

unread,
Mar 12, 2018, 10:42:52 PM3/12/18
to Redis DB
The output of the command INFO ALL is much more informative than your configuration.

As someone else mentioned, it's also more helpful to explain what memory issue you are experiencing.  How much memory can you let your Redis consume, and how much memory is it consuming instead?
Reply all
Reply to author
Forward
0 new messages