Grafana unable to perform bulk queries on ES 5

Continuing the discussion from ES does not return data due to threadpool limit.

Hi everyone,

I’m a experiencing an issue similar to the one above. While I’m trying to retrieve data with Grafana several widgets are unable to load data and show the following error:

rejected execution of org.elasticsearch.transport.TransportService$7@5039bb3f on EsThreadPoolExecutor[search, queue capacity = 1000, org.elasticsearch.common.util.concurrent.EsThreadPoolExecutor@7e31a11f[Running, pool size = 13, active threads = 13, queued tasks = 1709, completed tasks = 57584]]<

I’ve unsuccessfully tried to increase the bulk queue (default is 100) in elasticsearch.yml via this line of code:

thread_pool.search.queue_size: 2000

In the end I’ve solved the issue by removing widgets that perform several queries (7 or more) to draw charts.

My machine has 8 cores, 24 GB RAM and ES 5 heap has been incremented to 4 GB.

Do you have any suggestions to enhance performances in order to be able to sustain bulk queries?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.