Redis Can’t Save in Background
Hoy encontré el siguiente error en mis 3 servers donde corre Redis:
[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
Para solucionarlo basta con setear en 1 el overcommit_memory, de la siguiente forma:
$ echo 1 > /proc/sys/vm/overcommit_memory sysctl vm.overcommit_memory=1
En otro momento escribiré sobre el overcommit_memory…
Written by Boris Quiroz
Related protips
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#