Merge pull request #308 from silverlogic/systemd-limit-nproc

allow max threads to be configured
This commit is contained in:
Dale McDiarmid 2017-08-18 16:20:29 +01:00 committed by GitHub
commit 23abae8c67
3 changed files with 6 additions and 0 deletions

View file

@ -51,6 +51,10 @@ LimitNPROC=2048
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