# How to inspect write queue

**URL:** https://discuss.elastic.co/t/how-to-inspect-write-queue/225986
**Category:** Elasticsearch
**Created:** [April 1, 2020, 6:33am UTC](https://discuss.elastic.co/t/how-to-inspect-write-queue/225986 "2020-04-01T06:33:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hunsw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hunsw/32/93637_2.png) [@hunsw](https://discuss.elastic.co/u/hunsw)
#### Post date: [April 1, 2020, 6:33am UTC](https://discuss.elastic.co/t/how-to-inspect-write-queue/225986/1 "2020-04-01T06:33:24Z")

</div>

I'm on 6.8... my write queues are filling up and I don't really know, how to inspect their contents. I have even stopped Logstashes, but something is constantly writing. Does recovery use the write queues?

It's not consistent across all data nodes, I have some that are almost idle.

Any help would be appreciated!

---

<div class="post-metadata">

### Author: ![hunsw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hunsw/32/93637_2.png) [@hunsw](https://discuss.elastic.co/u/hunsw)
#### Post date: [April 3, 2020, 6:45am UTC](https://discuss.elastic.co/t/how-to-inspect-write-queue/225986/2 "2020-04-03T06:45:16Z")

</div>

In the end I used the tasks API and the hot\_threads API to see what's going on.

Recoveries indeed contributed to the queues filling up, stopping it then later limiting the recovery speed help alleviating the problem.

End of thread.

---

<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: [May 1, 2020, 6:45am UTC](https://discuss.elastic.co/t/how-to-inspect-write-queue/225986/3 "2020-05-01T06:45:16Z")

</div>

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