Hi everyone.
I'm using ES in a development system and i've got this error using a search request.
I tried to change queue_size from 1000 to 10000 but this didn't work:
Trace: [es_rejected_execution_exception] rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@2dd06f7 on QueueResizingEsThreadPoolExecutor[name = u86W95s/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 15s, task execution EWMA = 1micros, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@19adeb5c[Running, pool size = 6, active threads = 6, queued tasks = 2050, completed tasks = 234010]] (and) [es_rejected_execution_exception] rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@735bdafe on QueueResizingEsThreadPoolExecutor[name = u86W95s/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 15s, task execution EWMA = 1micros, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@19adeb5c[Running, pool size = 6, active threads = 6, queued tasks = 2050, completed tasks = 234010]] (and) [es_rejected_execution_exception] rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@73ab4a0 on QueueResizingEsThreadPoolExecutor[name = u86W95s/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 15s, task execution EWMA = 1micros, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@19adeb5c[Running, pool size = 6, active threads = 6, queued tasks = 2052, completed tasks = 234010]] (and) [es_rejected_execution_exception] rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@2f40f298 on QueueResizingEsThreadPoolExecutor[name = u86W95s/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 15s, task execution EWMA = 118.5micros, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@19adeb5c[Running, pool size = 6, active threads = 6, queued tasks = 1335, completed tasks = 237563]]
It seems queue_size is not affected by my request.
Moreover, i tried to set thread_pool size but this didn't work too.
For more information, we are 3 developers that call ES in parallel from 3 different machines.
Can anyone help me? Thanks!