Queue Size and Threadpools

Hello,

I was wondering something about the relation between queue sizes and threadpool sizes.
For example, as of the most recent version I think write thread pool has 10000 default queue. Is this queue size for each allocated core? Or is it 10000 no matter the cpu allocation?

Thanks.

It's a per node size/limit and it's calculated based on the number of CPU cores - Thread pools | Elasticsearch Guide [8.2] | Elastic

1 Like

So you're saying that queue is fixed 10000 even if I allocate 1 cpu core or 10 on a single node?

The documentation goes into that, but yes it's fixed for that queue.

1 Like

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