From e542c03bea6f93cb6bfaa97e8bdbda5fcb2567eb Mon Sep 17 00:00:00 2001 From: sandstrom Date: Fri, 15 Dec 2017 17:29:13 +0100 Subject: [PATCH] Clarify that number of threads is set by packages This commit clarifies that on systemd the packages already set the number of threads for the Elasticsearch process. Relates #27840 --- docs/reference/setup/sysconfig/threads.asciidoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/reference/setup/sysconfig/threads.asciidoc b/docs/reference/setup/sysconfig/threads.asciidoc index a9a75dc872b..0f6f1b31ece 100644 --- a/docs/reference/setup/sysconfig/threads.asciidoc +++ b/docs/reference/setup/sysconfig/threads.asciidoc @@ -2,7 +2,7 @@ === Number of threads Elasticsearch uses a number of thread pools for different types of operations. -It is important that it is able to create new threads whenever needed. Make +It is important that it is able to create new threads whenever needed. Make sure that the number of threads that the Elasticsearch user can create is at least 4096. @@ -10,3 +10,6 @@ This can be done by setting <> as root before starting Elasticsearch, or by setting `nproc` to `4096` in <>. +The package distributions when run as services under `systemd` will configure +the number of threads for the Elasticsearch process automatically. No +additional configuration is required.