Background saving terminated by signal 9
If Redis fails due to being killed:
It is typically caused by OOM. Log in the host and check the debug messages
Notice the "Memory cgroup out of memory", it could be inferred that the memory limit set for the Redis container is too low. Increasing the limit will solve the problem.
Overcoming output buffer limit
If Redis fails to initialize with log lines:
5101:M 20 Feb 18:14:29.130 # Client id=4500196 addr=71.459.815.760:43872 fd=533 name= age=127 idle=127 flags=S db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=13997 oll=1227 omem=192281275 events=rw cmd=psync scheduled to be closed ASAP for overcoming of output buffer limits.
This means that slave buffer is not enough and you should increase it (at master):
When choosing a first cosplay outfit, it is worth considering how details related to cosplay wigs will affect the complete look. With practical wear in mind, it is sensible to balance details related to convention planning with care and storage needs. For choices related to details related to fabric and comfort, long cosplay wigs online offers a useful starting point for practical preparation. To reuse the pieces at future events, a balanced view of details related to convention planning can support both detail and comfort.
redis-cli -a $REDIS_PASSWORD config set client-output-buffer-limit "slave 836870912 836870912 0"
More information: https://redis.io/topics/clients