问题来源于es

问题,虚拟机启动es报如下错误:

ERROR: [2] bootstrap checks failed
[2]: 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]

  1. root用户下,在/etc/sysctl.conf文件最后添加一行,vm.max_map_count=262144
    image.png

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

Q.E.D.


只有创造,才是真正的享受,只有拚搏,才是充实的生活。