Files
graylog2-server/data-node/config/jvm.options
Bernd Ahlers 120fae5221 Refactor data-node download and assembly (#14963)
* Refactor data-node download and assembly

- Download OpenSearch aarch64 distribution in addition to x64
- Extract OpenSearch distribution into "target/opensearch/*" instead of
  "bin/download".
- Include OpenSearch distributions in "dist/" instead of "bin/" in
  assembly

* Fix data-node test container creation

* Adjust OpenSearch location for architecture dependent locations

* If the configured location exists, use it

Otherwise, check for architecture dependent distribution directories.

* Switch default config file to locations that work with the tarball

* Rename datanode.jar to graylog-datanode.jar

* Rename datanodectl to graylog-datanode.sh

* Include graylog-datanode.sh in assembly as bin/graylog-datanode

* Add a jvm.options config file

* Add a production log4j2.xml config file

* Use bundled JVM if it exists

* fixed docker image for datanode integration tests

---------

Co-authored-by: Tomas Dvorak <tomas.dvorak@graylog.com>
2023-03-28 10:49:49 +02:00

21 lines
444 B
Plaintext

# JVM Heap Settings
#
# It's recommended to set both values to the same size to avoid stop-the-world
# GC pauses during resize.
-Xms1g
-Xmx1g
# General JVM Settings
#
# Garbage collector
-XX:+UseG1GC
# Ensure full stack traces for debugging
-XX:-OmitStackTraceInFastThrow
# Allow usage of experimental JVM options
-XX:+UnlockExperimentalVMOptions
# Avoid endless loop with some TLSv1.3 implementations
-Djdk.tls.acknowledgeCloseNotify=true