1
0
Эх сурвалжийг харах

Set number of processes in systemd unit file

This commit sets the number of processes in the systemd unit file for
Elasticsearch to meet the bootstrap checks.

Relates #24970
Jason Tedor 8 жил өмнө
parent
commit
9b6b4ffe8e

+ 3 - 0
distribution/src/main/packaging/systemd/elasticsearch.service

@@ -38,6 +38,9 @@ StandardError=inherit
 # Specifies the maximum file descriptor number that can be opened by this process
 LimitNOFILE=65536
 
+# Specifies the maximum number of processes
+LimitNPROC=4096
+
 # Specifies the maximum number of bytes of memory that may be locked into RAM
 # Set to "infinity" if you use the 'bootstrap.memory_lock: true' option
 # in elasticsearch.yml and 'MAX_LOCKED_MEMORY=unlimited' in ${path.env}