Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit d077d3f

Browse files
committed
Edited 510_Deployment/60_file_descriptors.asciidoc with Atlas code editor
1 parent f70650f commit d077d3f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

510_Deployment/60_file_descriptors.asciidoc

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Lucene uses a _very_ large number of files. ((("deployment", "file descriptors a
55
uses a large number of sockets to communicate between nodes and HTTP clients.
66
All of this requires available file descriptors.((("file descriptors")))
77

8-
Sadly, many modern linux distributions ship with a paltry 1024 file descriptors
8+
Sadly, many modern Linux distributions ship with a paltry 1,024 file descriptors
99
allowed per process. This is _far_ too low for even a small Elasticsearch
1010
node, let alone one that is handling hundreds of indices.
1111

@@ -15,7 +15,7 @@ particular OS and distribution. Consult the documentation for your OS to determ
1515
how best to change the allowed file descriptor count.
1616

1717
Once you think you've changed it, check Elasticsearch to make sure it really does
18-
have enough file descriptors. You can check with:
18+
have enough file descriptors:
1919

2020
[source,js]
2121
----
@@ -42,19 +42,19 @@ GET /_nodes/process
4242
}
4343
}
4444
----
45-
<1> The `max_file_descriptors` field will inform you how many available descriptors
46-
the Elasticsearch process can access
45+
<1> The `max_file_descriptors` field shows the number of available descriptors that
46+
the Elasticsearch process can access.
4747

4848
Elasticsearch also uses a mix of NioFS and MMapFS ((("MMapFS")))for the various files. Ensure
49-
that the maximum map count so that there is ample virtual memory available for
50-
mmapped files. This can be set temporarily with:
49+
that you configure the maximum map count so that there is ample virtual memory available for
50+
mmapped files. This can be set temporarily:
5151

5252
[source,js]
5353
----
5454
sysctl -w vm.max_map_count=262144
5555
----
5656

57-
Or permanently by modifying `vm.max_map_count` setting in your `/etc/sysctl.conf`
57+
Or you can set it permanently by modifying `vm.max_map_count` setting in your `/etc/sysctl.conf`.
5858

5959

6060

0 commit comments

Comments
 (0)