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
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"
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
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。