New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How are “active” threads counted in ElasticSearch? #34406

Closed
maxshortzp opened this Issue Oct 11, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@maxshortzp

maxshortzp commented Oct 11, 2018

Hi,

I'm trying to get a better understanding of how many "active" threads are consumed by a typical search request in order to better understand why our search queues sometimes back up. I have not received a response on the Elastic discussion forum or StackOverflow so I thought I would try here.

When a search request fans over multiple shards, does it use threads from each node's thread pool? Would these threads be reflected in the shard's "active" thread count?

For example, if I have 10 nodes with 1 shard each (10 shards total) and I do a search request, would this search request be reflected as:

10 "active" threads (one for each node/shard)? Or 1 "active" thread for the search request?

Thanks!

@DaveCTurner

This comment has been minimized.

Show comment
Hide comment
@DaveCTurner

DaveCTurner Oct 11, 2018

Contributor

Hi @maxshortzp, thanks very much for your question. However, we prefer to keep Github for verified bug reports and feature requests, and the forum is a better place for this question. Unfortunately not all questions can receive a timely answer from the community, as there is no SLA and all contributors are volunteers.

Contributor

DaveCTurner commented Oct 11, 2018

Hi @maxshortzp, thanks very much for your question. However, we prefer to keep Github for verified bug reports and feature requests, and the forum is a better place for this question. Unfortunately not all questions can receive a timely answer from the community, as there is no SLA and all contributors are volunteers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment