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

elasticsearch 启动报

max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [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]_第1张图片

执行/sbin/sysctl -p 立即生效

之后再起启动就好了

max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]_第2张图片

你可能感兴趣的:(increase,to,at,least,[262144])