Elasticsearch 启动提示 max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

原创 HuangLongPu     发表于  2021-03-25 21:27       536

Elasticsearch 启动提示虚拟内存不足错误信息:

max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

解决办法

编辑/etc/sysctl.conf文件,更改虚拟内存限制,在文件的最后追加配置。

[root@localhost bin]# vim /etc/sysctl.conf
vm.max_map_count=262144

配置生效

[root@localhost bin]# sysctl -p
vm.max_map_count = 262144