I've gotten this error a couple times in the past couple days:
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
When I check my Redis log, I see this:
1318:M 11 Jun 07:03:29.017 # Can't save in background: fork: Cannot allocate memory
1318:M 11 Jun 07:03:35.038 * 10 changes in 300 seconds. Saving...
A whole bunch.
I'm currently on a 1GB / 30GB droplet with DigitalOcean. I don't get a crazy amount of traffic on our site.
Any ideas what's up?
It also appears I don't have virtual memory enabled. Could this solve the issue?
total used free shared buff/cache available Mem: 1016280 774892 64688 72256 176700 34548 Swap: 0 0 0
@Michael-Pfaff yes it might help to add some swap
Yeah, it was a RAM issue. Upgraded the server and all is well now.