# Can elasticsearch incorrectly show search threadpool rejected count

**URL:** <https://discuss.elastic.co/t/can-elasticsearch-incorrectly-show-search-threadpool-rejected-count/291343>\
**Category:** Elasticsearch\
**Created:** [December 9, 2021, 4:07pm UTC](https://discuss.elastic.co/t/can-elasticsearch-incorrectly-show-search-threadpool-rejected-count/291343 "2021-12-09T16:07:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![taugusti](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@taugusti](https://discuss.elastic.co/u/taugusti)\
**Post date:** [December 9, 2021, 4:07pm UTC](https://discuss.elastic.co/t/can-elasticsearch-incorrectly-show-search-threadpool-rejected-count/291343/1 "2021-12-09T16:07:29Z")

</div>

I have been load testing my elastic cluster by sending a large number of search requests. I see a lot of "rejected" when I do GET /\_cat/thread\_pool/search in kibana. However, I see that all the queries got successful responses. I didn't see any errors in the elastic logs either. Typically I see errors that mention search queue full and requests rejected etc in the Elasticsearch log. I see CPU spike to 100% on data nodes, but drop also rapidly. Is it possible elastic is incorrectly showing search requests as rejected?  
I run Elasticsearch on EC2 instances launched in AWS. Use Elasticsearch version 7.11.2

---

<div class="post-metadata">

**Author:** ![taugusti](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@taugusti](https://discuss.elastic.co/u/taugusti)\
**Post date:** [December 17, 2021, 7:04pm UTC](https://discuss.elastic.co/t/can-elasticsearch-incorrectly-show-search-threadpool-rejected-count/291343/2 "2021-12-17T19:04:39Z")

</div>

Or could it be elastic is internally retrying it after marking it as "rejected" and hence the reason it is successful?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 14, 2022, 7:04pm UTC](https://discuss.elastic.co/t/can-elasticsearch-incorrectly-show-search-threadpool-rejected-count/291343/3 "2022-01-14T19:04:45Z")

</div>

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