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!