Bootstrap checks failed - max virtual memory areas vm.max_map_count [65530] is too low

Hi Team,

We have been setup OpenSearch container in our docker environment. And we got the below error after we started the service from the container , bootstrap checks failed**
**[1]: max virtual memory areas vm.max_map_count [65530] is too low.

And we can’t change the sysctl value manually.

sysctl -w vm.max_map_count=262144
sysctl: setting key “vm.max_map_count”: Read-only file system

[2022-05-31T04:15:35,633][INFO ][o.o.b.BootstrapChecks ] [opensearch-master] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
ERROR: OpenSearch did not exit normally - check the logs at /var/mware/logs/opensearch/opensearch-cluster.log

HI Team,

Could you please update on my above request? Its quite urgent.

Hi Team, Any update on my request?

Hi @Naga10 ,

Updating systctl values requires root permission.
Login as root user and try to update the value.

1 Like