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

解决: 

相关文章
相关标签/搜索