# How to flush threadpool write queue?

**URL:** https://discuss.elastic.co/t/how-to-flush-threadpool-write-queue/190168
**Category:** Elasticsearch
**Created:** [July 12, 2019, 8:28am UTC](https://discuss.elastic.co/t/how-to-flush-threadpool-write-queue/190168 "2019-07-12T08:28:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Hariom\_Vashisth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hariom_vashisth/32/48990_2.png) [@Hariom\_Vashisth](https://discuss.elastic.co/u/Hariom_Vashisth)
#### Post date: [July 12, 2019, 8:28am UTC](https://discuss.elastic.co/t/how-to-flush-threadpool-write-queue/190168/1 "2019-07-12T08:28:37Z")

</div>

GET \_cat/thread\_pool?v

Elasticsearch version: 7.1

How can we solve this problem of heavy write?

Meanwhile, what's the quick fix?

Is it possible to flush/empty write and search queue?

How can we reset failed/rejected count for these operations?

---

<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: [August 9, 2019, 8:28am UTC](https://discuss.elastic.co/t/how-to-flush-threadpool-write-queue/190168/2 "2019-08-09T08:28:38Z")

</div>

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