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

前端之家收集整理的这篇文章主要介绍了max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

报错

Ubuntu下,运行elasticsearch报错:

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

解决

sudo vi /etc/sysctl.conf

添加下面配置

vm.max_map_count=655360

后执行命令

sudo sysctl -p

最后就可以启动ES了。

猜你在找的Ubuntu相关文章