Hello everyone,
we try to migrate our old cluster 1.4 to our new cluster 2.2.1.
Currently, half of our web site use the new cluster and we encounter very big problems.
here is the error:
Caused by: EsRejectedExecutionException[rejected execution of org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction$2@2238365d on EsThreadPoolExecutor[search, queue capacity = 1000, org.elasticsearch.common.util.concurrent.EsThreadPoolExecutor@3911c81[Running, pool size = 13, active threads = 13, queued tasks = 1000, completed tasks = 71304]]]
at org.elasticsearch.common.util.concurrent.EsAbortPolicy.rejectedExecution(EsAbortPolicy.java:50)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)
at org.elasticsearch.common.util.concurrent.EsThreadPoolExecutor.execute(EsThreadPoolExecutor.java:85)
... 31 more
I read this topic : Courier Fetch: X of Y shards failed
It is not advisable to increase the number of thread pool. However how do I carry the load ?
Why I had no problem with my old cluster? ElasticSearch 2.2.1 is less efficient?
For information, on my old cluster :
stats/thread_pool/search :
"search" : {
"threads" : 27,
"queue" : 0,
"active" : 3,
"rejected" : 71529,
"largest" : 27,
"completed" : 19144205488
},
on my new cluser
"search" : {
"threads" : 13,
"queue" : 0,
"active" : 0,
"rejected" : 13352,
"largest" : 13,
"completed" : 679045
},
I do not understand why, with the same number of CPU, I have 2 times less thread_pool ...
Best regards,
Alexandre.