Increasing the size of the queue in Elasticsearch?

后端 未结 3 582
陌清茗
陌清茗 2021-01-04 08:11

Ive been looking at my elasticsearch logs, and I came across the error

rejected execution (queue capacity 1000) on org.elasticsearch.search.action.SearchServ

3条回答
  •  温柔的废话
    2021-01-04 08:59

    From Elasticsearch 5 onward you cannot use the API to update the threadpool search queue size. It is now a node-level settings. See this.

    Thread pool settings are now node-level settings. As such, it is not possible to update thread pool settings via the cluster settings API.

    To update the threadpool you have to add thread_pool.search.queue_size : in elasticsearch.yml file of each node and then restart elasticsearch.

提交回复
热议问题