tomcat: put explicit ulitmit commands inside the tomcat instance defaults. See https://support.d4science.org/issues/16588
This commit is contained in:
parent
3de842913e
commit
843d5c32b1
|
@ -1,3 +1,7 @@
|
|||
{% if limits_nofile_value is defined %}
|
||||
ulimit -Hn {{ limits_nofile_value }}
|
||||
ulimit -Sn {{ limits_nofile_value }}
|
||||
{% endif %}
|
||||
TOMCAT_USER={{ item.user }}
|
||||
TOMCAT_GROUP={{ item.user }}
|
||||
JAVA_HOME={{ item.java_home }}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
{% if limits_nofile_value is defined %}
|
||||
ulimit -Hn {{ limits_nofile_value }}
|
||||
ulimit -Sn {{ limits_nofile_value }}
|
||||
{% endif %}
|
||||
|
||||
# Run Tomcat as this user ID. Not setting this or leaving it blank will use the
|
||||
# default of tomcat{{ tomcat_version}}.
|
||||
TOMCAT{{ tomcat_version}}_USER={{ tomcat_user }}
|
||||
|
|
Loading…
Reference in New Issue