找到问题的解决办法了么?

Elasticsearch集群不稳定,node_disconnected_exception

Elasticsearch | 作者 Lin Qi | 发布于2017年12月25日 | 阅读数:4915

Elasticsearch集群不稳定,node_disconnected_exception

集群启动后,节点很不稳定,通过_cat/nodes来看,经常有不可用的节点出现,有时还会出现节点直接掉线,被remove掉。

这可能是什么原因导致的呢?网络已经查过了,没有问题,是不是还有什么系统参数、es参数需要优化一下?

环境:
6台CentOS6.9部署Elasticsearch5.5.2集群,主机名分别是:s01、s02、s03、s04、s05、s06
其中s01、s02、s03为:node.master: true以及node.data: true
s04、s05、s06为:node.master: false以及node.data: true

配置情况大致如下:
cluster.name: es-product
node.name: node-43
node.master: true(s04-06为false)
node.data: true
path.data: /data/elasticsearch/data
path.logs: /data/elasticsearch/log
network.host: 172.16.3.43
http.cors.enabled: true
http.cors.allow-origin: '*'
#http.enabled: false
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
discovery.zen.ping.unicast.hosts: ["172.16.3.42","172.16.3.43","172.16.3.44"]
discovery.zen.minimum_master_nodes: 2
indices.query.bool.max_clause_count: 10240
http.port: 9200
transport.tcp.port: 9300
discovery.zen.fd.ping_timeout: 120s
discovery.zen.fd.ping_retries: 6
discovery.zen.fd.ping_interval: 30s
discovery.zen.ping_timeout: 120s



已邀请:

zhangg7723

赞同来自:

看下线节点日志有什么异常,什么时间下线的,这个时间其他节点上日志是什么内容

fangw - 90后

赞同来自:

遇到同样的问题 ,你是怎么解决的
 

要回复问题请先登录注册