ElasticSearch啓動報錯問題

問題一: 啓動失敗,報錯信息node

[2019-06-12T22:04:48,330][INFO ][o.e.b.BootstrapChecks    ] [node01] bound or publishing to a non-loopback address, enforcing bootstrap checksERROR: 
[3] bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144][3]: 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

解決辦法以下:json

切換到root用戶,編輯limits.conf 添加相似以下內容bootstrap

vi /etc/security/limits.conf elasticsearch

添加以下內容:ide

* soft nofile 65536oop

* hard nofile 131072ui

* soft nproc 2048spa

* hard nproc 4096code

 

問題二:ip

ERROR: [1] bootstrap checks failed
[1]: 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

解決: 

相關文章
相關標籤/搜索