1、ES启动报错
bootstrap check failure [1] of [2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
bootstrap check failure [2] of [2]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
查看配置:
root@es-kibana-0:/usr/share/elasticsearch/bin# sysctl -a|grep vm.max_map_count
修改配置:
root@es-kibana-0:/usr/share/elasticsearch# sysctl -w vm.max_map_count=262144
sysctl: setting key "vm.max_map_count", ignoring: Read-only file system