Update to 2020-06-12 11:00

master
Daniel Berteaud 4 years ago
parent 227834722f
commit a048253b9b
  1. 3
      roles/graylog/defaults/main.yml
  2. 2
      roles/graylog/templates/graylog-server.service.j2

@ -69,3 +69,6 @@ graylog_journal_max_size: 5
# on el7, TLSv1.3 seems to break filebeat connections, so, just enable TLSv1.2 # on el7, TLSv1.3 seems to break filebeat connections, so, just enable TLSv1.2
graylog_tls_versions: graylog_tls_versions:
- TLSv1.2 - TLSv1.2
# Mem to allocate to the JVM (Xmx / Xms)
graylog_jvm_mem: 2g

@ -12,7 +12,7 @@ User=graylog
Group=graylog Group=graylog
LimitNOFILE=64000 LimitNOFILE=64000
ExecStart=/usr/bin/java \ ExecStart=/usr/bin/java \
-Xms2g -Xmx2g -XX:NewRatio=1 -server -XX:+ResizeTLAB \ -Xms{{ graylog_jvm_mem }} -Xmx{{ graylog_jvm_mem }} -XX:NewRatio=1 -server -XX:+ResizeTLAB \
-XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled \ -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled \
-XX:+CMSClassUnloadingEnabled -XX:-OmitStackTraceInFastThrow \ -XX:+CMSClassUnloadingEnabled -XX:-OmitStackTraceInFastThrow \
-cp {{ graylog_root_dir }}/app/graylog.jar{% if graylog_libs.keys() | list | length > 0 %}{% for lib in graylog_libs.keys() | list %}:{{ graylog_root_dir }}/app/lib/{{ lib }}-{{ graylog_libs[lib].version }}.jar{% endfor %} {% endif %} \ -cp {{ graylog_root_dir }}/app/graylog.jar{% if graylog_libs.keys() | list | length > 0 %}{% for lib in graylog_libs.keys() | list %}:{{ graylog_root_dir }}/app/lib/{{ lib }}-{{ graylog_libs[lib].version }}.jar{% endfor %} {% endif %} \

Loading…
Cancel
Save