How to check current size of the ealastisearch queues defined in threadpool.index.queue_size and threadpool.bulk.queue_size?
There is already some topic/question at SO related to the problems with queueing in the Elasticsearch: ElasticSearch gives error about queue size
This is about how to set queue sizes. But how to read the current (in real time) size/load on those queues to avoid in runtime overloading Elasticsearch and or to see if they are optimally used and the lengths are properly set?
I had tried to find the answer in the CAT API, but there is nothing explicit related to those queues (perhaps I do not see anything).
I got the answer in at Elasticsearch forum: How to check current size of the ealastisearch queues defined in threadpool.XXX.queue_size?
The REST call:
curl -XGET "https://server:port/_nodes/thread_pool?v"
will return JSON and in the path nodes/thread_pool/index and nodes/thread_pool/bulk will be located information about queue sizes.
Something like:
"index" : {
"type" : "fixed",
"min" : 2,
"max" : 2,
"queue_size" : 1000
},
More on that topic can be found at: Nodes Stats
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With