Closed jeroen closed 8 months ago
Mongo is giving a warning vm.max_map_count is too low. Apparently this has to be increased on the host machine. Not sure why the default is the way it is.
vm.max_map_count is too low
Currently it is:
sysctl vm.max_map_count # vm.max_map_count = 65530
Mongodb recommmends 128000. GHA uses 262144: https://github.com/actions/runner-images/pull/1463/files
128000
To update it we can do something like:
echo "vm.max_map_count=262144" > "/etc/sysctl.d/99-maxmap.conf"
And then reboot.
I am not sure anymore if we set this on the host or in the mongo container.
Mongo is giving a warning
vm.max_map_count is too low
. Apparently this has to be increased on the host machine. Not sure why the default is the way it is.Currently it is:
Mongodb recommmends
128000
. GHA uses 262144: https://github.com/actions/runner-images/pull/1463/filesTo update it we can do something like:
And then reboot.