Advertisement
Guest User

redis.conf

a guest
Sep 17th, 2016
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. daemonize yes
  2. pidfile /var/run/redis/redis-server.pid
  3. port 0
  4. tcp-backlog 511
  5. bind 127.0.0.1
  6.  
  7. port 0
  8. unixsocket /var/run/redis/redis.sock
  9. unixsocketperm 770
  10.  
  11. timeout 0
  12. tcp-keepalive 0
  13. loglevel notice
  14. logfile /var/log/redis/redis-server.log
  15.  
  16. databases 16
  17.  
  18. save 900 1
  19. save 300 10
  20. save 60 10000
  21. stop-writes-on-bgsave-error yes
  22. rdbcompression yes
  23. rdbchecksum yes
  24. dbfilename dump.rdb
  25. dir /var/lib/redis
  26.  
  27. slave-serve-stale-data yes
  28. slave-read-only yes
  29. repl-diskless-sync no
  30. repl-diskless-sync-delay 5
  31.  
  32. repl-disable-tcp-nodelay no
  33.  
  34. slave-priority 100
  35.  
  36. appendonly no
  37.  
  38. appendfilename "appendonly.aof"
  39.  
  40. appendfsync everysec
  41.  
  42. no-appendfsync-on-rewrite no
  43.  
  44. auto-aof-rewrite-percentage 100
  45. auto-aof-rewrite-min-size 64mb
  46. aof-load-truncated yes
  47.  
  48. lua-time-limit 5000
  49.  
  50. slowlog-log-slower-than 10000
  51. slowlog-max-len 128
  52.  
  53. latency-monitor-threshold 0
  54.  
  55. notify-keyspace-events ""
  56.  
  57. hash-max-ziplist-entries 512
  58. hash-max-ziplist-value 64
  59. list-max-ziplist-entries 512
  60. list-max-ziplist-value 64
  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
  70. aof-rewrite-incremental-fsync yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement