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

问题背景:

(centos7)
在【启动】bin>./elasticsearch 的时候
【报错】max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

解决:

1)sudo vi /etc/sysctl.conf 文件最后添加一行

vm.max_map_count=262144
  1. 加载设置好的系统参数
    sysctl [-n] [-e] -p (default /etc/sysctl.conf)
sudo sysctl -p

3)重新启动 bin>./elasticsearch

OK~

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