How to Fix Read timed out in Elasticsearch

后端 未结 7 1375
执念已碎
执念已碎 2020-12-25 10:33

I used Elasticsearch-1.1.0 to index tweets. The indexing process is okay. Then I upgraded the version. Now I use Elasticsearch-1.3.2, and I get this message randomly:

<
7条回答
  •  無奈伤痛
    2020-12-25 11:08

    Increasing various timeout options may immediately resolve issues, but does not address the root cause.

    Provided the ElasticSearch service is available and the indexes are healthy, try increasing the the Java minimum and maximum heap sizes: see https://www.elastic.co/guide/en/elasticsearch/reference/current/jvm-options.html .

    TL;DR Edit /etc/elasticsearch/jvm.options -Xms1g and -Xmx1g

提交回复
热议问题