0

I have the same issue as this link. Seems that the changing of the queue size for the search threadpool resolve it:

curl -XPUT http://your_es:9200/_cluster/settings
{
    "transient":{
        "threadpool.search.queue_size":10000
    }
}

However this API does not work in elasticsearch 5.x

Can't find the new API to use. Any ideas?

Thanks!

Community
  • 1
  • 1
sabrina2020
  • 2,102
  • 3
  • 25
  • 54

1 Answers1

1

That setting is not configurable through an API anymore.

It's a setting that's per node and not global per cluster, thus can only be configured in the yml configuration file. And it should be thread_pool.search.queue_size.

Relevant documentation on this you can find here. Relevant snippet:

The prefix on all thread pool settings has been changed from threadpool to thread_pool.

...

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

Community
  • 1
  • 1
Andrei Stefan
  • 51,654
  • 6
  • 98
  • 89