Skip to content
Snippets Groups Projects
Commit b6853eee authored by JOduMonT's avatar JOduMonT Committed by Pierre Ozoux
Browse files

add vm.overcommit_memory=1 (#152)

as is recommanded by REDIS
# 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.
parent 63e81f7d
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,7 @@ write_files: ...@@ -21,6 +21,7 @@ write_files:
content: | content: |
fs.aio-max-nr=1048576 fs.aio-max-nr=1048576
vm.max_map_count=262144 vm.max_map_count=262144
vm.overcommit_memory=1
- path: /etc/hosts - path: /etc/hosts
permissions: 0644 permissions: 0644
owner: root owner: root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment