Guest User

Untitled

a guest
Oct 23rd, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. #
  2. #
  3. #
  4. bind 0.0.0.0
  5. protected-mode yes
  6. port 6379
  7. tcp-backlog 2048
  8. # unixsocket /tmp/redis.sock
  9. # unixsocketperm 700
  10. timeout 0
  11. tcp-keepalive 300
  12. daemonize no
  13. supervised systemd
  14. pidfile /var/run/redis_6379.pid
  15. loglevel notice
  16. logfile "/var/lib/redis/redis.log"
  17. databases 16
  18. always-show-logo yes
  19. save 900 1
  20. save 300 10
  21. save 60 10000
  22. stop-writes-on-bgsave-error yes
  23. rdbcompression yes
  24. rdbchecksum yes
  25. dbfilename dump.rdb
  26. dir /var/lib/redis
  27. # slaveof master-ip master-port
  28. # masterauth <master-password>
  29. slave-serve-stale-data yes
  30. #slave-read-only yes
  31.  
  32. repl-diskless-sync no
  33. repl-diskless-sync-delay 5
  34. # repl-ping-slave-period 10
  35. # repl-timeout 60
  36. repl-disable-tcp-nodelay no
  37. # repl-backlog-size 1mb
  38. # repl-backlog-ttl 3600
  39. slave-priority 100
  40. lazyfree-lazy-eviction no
  41. lazyfree-lazy-expire no
  42. lazyfree-lazy-server-del no
  43. slave-lazy-flush no
  44. appendonly no
  45. appendfilename "appendonly.aof"
  46. # appendfsync always
  47. appendfsync everysec
  48. # appendfsync no
  49. no-appendfsync-on-rewrite no
  50. auto-aof-rewrite-percentage 100
  51. auto-aof-rewrite-min-size 64mb
  52. aof-load-truncated yes
  53. aof-use-rdb-preamble no
  54. lua-time-limit 5000
  55. slowlog-log-slower-than 10000
  56. slowlog-max-len 128
  57. latency-monitor-threshold 0
  58. notify-keyspace-events ""
  59. list-max-ziplist-size -2
  60. list-compress-depth 0
  61. set-max-intset-entries 512
  62. zset-max-ziplist-entries 128
  63. zset-max-ziplist-value 64
  64. hll-sparse-max-bytes 3000
  65. activerehashing yes
  66. client-output-buffer-limit normal 0 0 0
  67. client-output-buffer-limit slave 256mb 64mb 60
  68. client-output-buffer-limit pubsub 32mb 8mb 60
  69. hz 10
Add Comment
Please, Sign In to add comment