1. bootstrap check failure [1] of [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
    vm.max_map_count值太小

更改系统vm.max_map_count设置值

[root@localhost /]# sysctl -w vm.max_map_count=262144
vm.max_map_count = 262144
# 再次查看
[root@localhost /]# sysctl -a | grep vm.max_map_count
vm.max_map_count = 262144

  1. bootstrap check failure [1] of [1]: initial heap size [4294967296] not equal to maximum heap size [8589934592]; this can cause resize pauses
    创建容器时-Xms、-Xmx内存值需要保持一样, 如:ES_JAVA_OPTS="-Xms8g -Xmx8g"

  1. ERROR: Elasticsearch did not exit normally - check the logs at /var/log/elasticsearch/elasticsearch.log
    权限问题, 在宿主机中修改
    vim /etc/security/limits.conf

    # 在最后面追加下面内容
    elk hard nofile65536
    elk soft nofile65536

YYGP
25 声望11 粉丝

写BUG


引用和评论

0 条评论