Skip to content
Chetabahana edited this page Mar 24, 2019 · 10 revisions

Table of Contents

RDB snapshotting fails

MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

  • ResponseError at /en/
  • Request Method: GET
  • Django Version: 2.1.5
  • Exception Type: ResponseError
  • Exception Location: /env/lib/python3.7/site-packages/redis/connection.py in read_response, line 629

Compose

redis_1 | 1:C 21 Mar 2019 00:51:04.418 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1 | 1:C 21 Mar 2019 00:51:04.418 # Redis version=5.0.4, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1 | 1:C 21 Mar 2019 00:51:04.418 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1 | 1:M 21 Mar 2019 00:51:04.422 * Running mode=standalone, port=6379.
redis_1 | 1:M 21 Mar 2019 00:51:04.422 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis_1 | 1:M 21 Mar 2019 00:51:04.422 # Server initialized
redis_1 | 1:M 21 Mar 2019 00:51:04.423 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis_1 | 1:M 21 Mar 2019 00:51:04.423 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis_1 | 1:M 21 Mar 2019 00:51:04.423 * Ready to accept connections

Project Tutorial

You are on the wiki of our repo

Chetabahana Project

Clone this wiki locally