es提示"vm.max_map_count [65530] is too low"

问题现象:

[2024-06-22T09:26:50,692][ERROR][o.e.b.Elasticsearch      ] [platformdb] node validation exception
[1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
bootstrap check failure [1] of [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

解决思路:

vim /etc/sysctl.conf
vm.max_map_count=655360
刷新配置
sysctl -p /etc/sysctl.conf/
posted @ 2024-06-22 09:33  wh459086748  阅读(55)  评论(0)    收藏  举报