1.OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N

解决方案:

elasticsearch常见错误及解决方案

 

2.java.lang.RuntimeException: don't run elasticsearch as root

 

解决方案:  增加一个专用用户

  1). adduser es

  2). passwd es

  3).chown -R es:es [es目录]

  通过es账户启动

 

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

 

解决方案: 

    修改/etc/sysctl.conf配置文件,添加vm.max_map_count=262144,重启或重新加载配置

 

 

4.max file descriptors [65535] for elasticsearchprocess is too low, increase to at least [65536]

 

解决方案: 

    修改/etc/security/limits.conf文件,把所有的65535改到65536

 

 

5.外网访问

解决方案: 修改elasticsearch.yml文件  增加 network.host :0.0.0.0   ,外加防火墙开启9200端口

  

 

相关文章:

  • 2022-01-08
  • 2021-12-15
  • 2021-11-21
  • 2022-12-23
  • 2021-09-17
  • 2021-12-13
  • 2022-01-18
猜你喜欢
  • 2022-02-16
  • 2021-07-30
  • 2021-07-02
  • 2021-09-19
  • 2022-02-07
  • 2022-02-10
相关资源
相似解决方案