ElasticSearch6安装问题

1) max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
解决办法:
切换到root用户 在 limits.conf 文件中添加下面四行
vi /etc/security/limits.conf

  • soft nofile 65536
  • hard nofile 131072
  • soft nproc 2048
  • hard nproc 4096
    不能遗漏前面的 * 立即生效, 将root用户切换到ES安装用户

2)max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
解决办法:
修改sysctl.conf
vi /etc/sysctl.conf
新增如下行:
vm.max_map_count = 655360

保存退出 执行 sysctl -p

猜你喜欢

转载自blog.csdn.net/u012224510/article/details/84249615