Redis can't save in background
Time ago at work I found following error on our three Redis servers:
[3765] 30 Jan 11:31:10 * 1 changes in 900 seconds. Saving...
[3765] 30 Jan 11:31:10 # Can't save in background: fork: Cannot allocate memory
To fix that, I just re-wrote the overcommit_memory value as follows:
$ echo 1 > /proc/sys/vm/overcommit_memory sysctl vm.overcommit_memory=1
Written by Boris Quiroz
Related protips
1 Response
Thanks! it solved my problem too.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Redis
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#