Last active
March 1, 2023 14:14
-
-
Save fernandoaleman/07f40de23864c50071929f5e3ab5840d to your computer and use it in GitHub Desktop.
redis bgsave failed because fork Cannot allocate memory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modify /etc/sysctl.conf and add | |
vm.overcommit_memory=1 | |
Then restart sysctl by: | |
$ sudo sysctl -p /etc/sysctl.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks