Sew*_*zki 3 size queue configuration elasticsearch
如何检查在threadpool.index.queue_size和threadpool.bulk.queue_size中定义的ealastisearch队列的当前大小?
SO上已经有一些与Elasticsearch中的排队问题相关的主题/问题:ElasticSearch给出了有关队列大小的错误
这是关于如何设置队列大小。但是如何读取这些队列上的当前(实时)大小/负载,以避免在运行时使Elasticsearch过载,或者如何查看它们是否得到了最佳使用以及长度是否正确设置?
我试图在CAT API中找到答案,但是与这些队列没有任何明确的关联(也许我什么都没看到)。
我在Elasticsearch论坛上得到了答案:如何检查threadpool.XXX.queue_size中定义的ealastisearch队列的当前大小?
REST调用:
curl -XGET "https://server:port/_nodes/thread_pool?v"
Run Code Online (Sandbox Code Playgroud)
将返回JSON,并在路径node / thread_pool / index和nodes / thread_pool / bulk中找到有关队列大小的信息。
就像是:
"index" : {
"type" : "fixed",
"min" : 2,
"max" : 2,
"queue_size" : 1000
},
Run Code Online (Sandbox Code Playgroud)
有关该主题的更多信息,请参见:节点统计
归档时间: |
|
查看次数: |
3987 次 |
最近记录: |