max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
Posted yeyu1314
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]相关的知识,希望对你有一定的参考价值。
elasticsearch启动时遇到的错误
问题翻译过来就是:elasticsearch用户拥有的内存权限太小,至少需要262144;
解决:
切换到root用户
执行命令:
sysctl -w vm.max_map_count=262144
查看结果:
sysctl -a|grep vm.max_map_count
显示:
vm.max_map_count = 262144
上述方法修改之后,如果重启虚拟机将失效,所以:
解决办法:
在 /etc/sysctl.conf文件最后添加一行
vm.max_map_count=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
ES发布时max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] 错误(
DEMAND PAGING Virtual Memory - The avoidance of thrashing was a major research area in the 1970s