From 66bb5edd2ea3ebb85539143e396779dfaa538e28 Mon Sep 17 00:00:00 2001 From: Andreas Paul Date: Fri, 22 Nov 2019 12:02:13 +0100 Subject: [PATCH] add hint on how to get the documented output taken from https://www.elastic.co/guide/en/elasticsearch/reference/current/file-descriptors.html --- 510_Deployment/60_file_descriptors.asciidoc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/510_Deployment/60_file_descriptors.asciidoc b/510_Deployment/60_file_descriptors.asciidoc index 72570eaea..645614e21 100644 --- a/510_Deployment/60_file_descriptors.asciidoc +++ b/510_Deployment/60_file_descriptors.asciidoc @@ -15,7 +15,18 @@ particular OS and distribution. Consult the documentation for your OS to determine how best to change the allowed file descriptor count. Once you think you've changed it, check Elasticsearch to make sure it really -does have enough file descriptors: +does have enough file descriptors. + +You can check the `max_file_descriptors` configured for each node +using the <> API, with: + +[source,js] +-------------------------------------------------- +GET _nodes/stats/process?filter_path=**.max_file_descriptors +-------------------------------------------------- +// CONSOLE + +Example output: [source,js] ----