-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARNING overcommit_memory is set to 0 #14
Comments
Not being a big redis user I am not sure on the implications of this setting, but you can provide your own |
The short answer to your question is No. If you think you application is going to use a lot of memory. i.e. more than your RAM then set this to 1. |
Ok, thank you. |
This isn't a "run a container to solve a problem" kind of thing, but I appreciate there being containers running as part of a stack to help serve as documentation for what's been done to the host. That said, I believe some folks may find https://github.com/bkuhl/redis-overcommit-on-host useful. |
When I start container, I see this in logs:
WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
I want data to be persistent. Should I worry about it?
The text was updated successfully, but these errors were encountered: