# What's in the bulk queue?

**URL:** https://discuss.elastic.co/t/whats-in-the-bulk-queue/144556
**Category:** Elasticsearch
**Created:** [August 15, 2018, 5:34pm UTC](https://discuss.elastic.co/t/whats-in-the-bulk-queue/144556 "2018-08-15T17:34:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mind\_scratch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mind_scratch/32/34507_2.png) [@mind\_scratch](https://discuss.elastic.co/u/mind_scratch)
#### Post date: [August 15, 2018, 5:34pm UTC](https://discuss.elastic.co/t/whats-in-the-bulk-queue/144556/1 "2018-08-15T17:34:20Z")

</div>

I have a situation where the size of the bulk queue climbs and I'd like to know what's in that queue. Is there some way to diagnose the issue?

Thanks

---

<div class="post-metadata">

### Author: ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)
#### Post date: [August 20, 2018, 12:24pm UTC](https://discuss.elastic.co/t/whats-in-the-bulk-queue/144556/2 "2018-08-20T12:24:22Z")

</div>

Hi,

you cannot easily inspect that directly. One possibility is to [take a heap dump with jmap](https://docs.oracle.com/javase/8/docs/technotes/tools/unix/jmap.html) and analyze it e.g. in [Eclipse MAT](https://www.eclipse.org/mat/) but this analysis could get a bit involved.

Also note that the Elasticsearch node is basically blocked while the heap dump is being taken. Depending on your system and your configuration this can take several seconds. If it takes too long the node might get removed from the cluster so I suggest you test this first in a development environment if possible instead of immediately running it production.

Daniel

---

<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: [September 17, 2018, 12:24pm UTC](https://discuss.elastic.co/t/whats-in-the-bulk-queue/144556/3 "2018-09-17T12:24:22Z")

</div>

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