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
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
Hi,
you cannot easily inspect that directly. One possibility is to take a heap dump with jmap and analyze it e.g. in Eclipse 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
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.