Vm.max_map_count keep changing to default

hi, I configured vm.max_map_count to be 16777216 (because of the amount of memory on the vms cluster) but after coordinating is restarting the value returns to default and opensearch dashboards is down
what should I do to keep this value?

How did you set the value? You can set the value at system level, like this:
sysctl -w vm.max_map_count= 16777216
, and make the value persistent, create a file under /etc/sysctl.d, then set the value in the file:
vm.max_map_count= 16777216

1 Like