sameersbn / docker-redis

Dockerfile to create a Docker container image for Redis.
MIT License
156 stars 140 forks source link

WARNING overcommit_memory is set to 0 #7

Closed faultylee closed 7 years ago

faultylee commented 8 years ago

I'm getting this warning when I start this for my gitlab container

# 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.

Is there anything to be of concern?

gjrtimmer commented 7 years ago

No you can ignore this

sameersbn commented 7 years ago

please refer to https://github.com/docker-library/redis/issues/14 for additional information