elasticsearch启动时报[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at l

elasticsearch启动时报[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at l_第1张图片
修改 /etc/sysctl.conf

vim /etc/sysctl.conf
//在最后一行上加上
vm.max_map_count=262144
//退出,执行命令
sysctl -p
//查看max_map_count
sysctl -a|grep vm.max_map_count

在这里插入图片描述
启动elasticsearch,就ok了

你可能感兴趣的:(linux,elk,elasticsearch,linux)