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

1.搭建ES集群启动之后报如下的错误:

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

2.从报错信息vm.max_map_count看出内存太小了    所以 需要修改vm.max_map_count的内存大小    切换到root账户   命令  su root

修改sysctl.conf文件     命令: vim /etc/sysctl.conf  如下:
解决报错max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]_第2张图片

3.输入命令:sysctl -p

4.再次启动es就不报错了  如下:

 

 

 

你可能感兴趣的:(解决报错max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144])