@@ -5,7 +5,7 @@ Lucene uses a _very_ large number of files. ((("deployment", "file descriptors a
5
5
uses a large number of sockets to communicate between nodes and HTTP clients.
6
6
All of this requires available file descriptors.((("file descriptors")))
7
7
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
9
9
allowed per process. This is _far_ too low for even a small Elasticsearch
10
10
node, let alone one that is handling hundreds of indices.
11
11
@@ -15,7 +15,7 @@ particular OS and distribution. Consult the documentation for your OS to determ
15
15
how best to change the allowed file descriptor count.
16
16
17
17
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:
19
19
20
20
[source,js]
21
21
----
@@ -42,19 +42,19 @@ GET /_nodes/process
42
42
}
43
43
}
44
44
----
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.
47
47
48
48
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:
51
51
52
52
[source,js]
53
53
----
54
54
sysctl -w vm.max_map_count=262144
55
55
----
56
56
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`.
58
58
59
59
60
60
0 commit comments