浏览代码

doc processors setting

Shay Banon 12 年之前
父节点
当前提交
359d14ddc5
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      docs/reference/modules/threadpool.asciidoc

+ 11 - 0
docs/reference/modules/threadpool.asciidoc

@@ -93,3 +93,14 @@ threadpool:
         size: 30
         queue_size: 1000
 --------------------------------------------------
+
+[processors]]

+[float]

+=== Processors setting
+The number of processors is automatically detected, and the thread pool
+settings are automatically set based on it. Sometimes, the number of processors
+are wrongly detected, in such cases, the number of processors can be
+explicitly set using the `processors` setting.
+
+In order to check the number of processors detected, use the nodes info
+API with the `os` flag.