allow max threads to be configured

This commit is contained in:
Ryan Pineo 2017-05-11 23:25:32 -04:00
parent 3621561473
commit 2f96bc42f4
3 changed files with 6 additions and 0 deletions

View file

@ -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