ES发布时max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] 错误(

Posted jakablog

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ES发布时max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] 错误(相关的知识,希望对你有一定的参考价值。

elasticsearch用户拥有的内存权限太小,至少需要262144;

  • 切换sudo并且执行命令
sysctl -w vm.max_map_count=262144
  • 查看结果
sysctl -a|grep vm.max_map_count

# 如果显示vm.max_map_count = 262144则代表配置成功

以上是临时修改,以下是永久修改,建议俩个地方都改一下

  • 打开配置文件
sudo vim /etc/sysctl.conf
  • 添加配置
vm.max_map_count=262144

以上是关于ES发布时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]

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 le

编译时:virtual memory exhausted: Cannot allocate memory

编译时:virtual memory exhausted: Cannot allocate memory(转)