File tree 2 files changed +5
-3
lines changed 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,4 +17,6 @@ es_pid_dir: "/var/run/elasticsearch"
17
17
es_data_dirs : " /var/lib/elasticsearch"
18
18
es_log_dir : " /var/log/elasticsearch"
19
19
es_work_dir : " /tmp/elasticsearch"
20
- es_plugin_dir : " /usr/share/elasticsearch/plugins"
20
+ es_plugin_dir : " /usr/share/elasticsearch/plugins"
21
+ es_max_open_files : 65536
22
+
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ StandardOutput=null
31
31
StandardError=journal
32
32
33
33
# Specifies the maximum file descriptor number that can be opened by this process
34
- LimitNOFILE=65535
34
+ LimitNOFILE={{es_max_open_files}}
35
35
36
36
# Specifies the maximum number of bytes of memory that may be locked into RAM
37
37
# Set to "infinity" if you use the 'bootstrap.mlockall: true' option
@@ -53,4 +53,4 @@ SendSIGKILL=no
53
53
SuccessExitStatus=143
54
54
55
55
[Install]
56
- WantedBy=multi-user.target
56
+ WantedBy=multi-user.target
You can’t perform that action at this time.
0 commit comments