allow max threads to be configured
This commit is contained in:
parent
3621561473
commit
2f96bc42f4
3 changed files with 6 additions and 0 deletions
|
|
@ -48,6 +48,10 @@ LimitNOFILE={{es_max_open_files}}
|
|||
LimitMEMLOCK=infinity
|
||||
{% endif %}
|
||||
|
||||
# Specifies the maximum number of threads that can be started. Elasticsearch requires a
|
||||
# minimum of 2048.
|
||||
LimitNPROC={{ es_max_threads }}
|
||||
|
||||
# Disable timeout logic and wait until process is stopped
|
||||
TimeoutStopSec=0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue