es 启动问题

max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

vim /etc/security/limits.conf 

文件末尾添加:

  mst hard nofile 65536
  mst soft nofile 65536

  mst是es启动用户

 

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

vim /etc/sysctl.conf 

文件末尾添加:
vm.max_map_count=655360

sysctl -p #使生效

 

posted on 2018-08-09 15:29  chouc  阅读(182)  评论(0编辑  收藏  举报

导航