This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
rationale: the jvm settings for graylog server can be automatically
scaled based on the available memory. We set min & max heap to memory/2,
capping it at below 32G, to ensure the JVM will be able to use
-XX:+UseCompressedOops (see
https://www.elastic.co/guide/en/elasticsearch/guide/current/heap-sizing.html)
By default, PermSize and MaxPermSize is also set to the same value.
We leave the GC settings alone, since they are very sensible values for
Graylog2. However, we allow to provide additional java options, such as
-javaagent, or jmx options, which are useful for monitoring.
While we try hard to preserve backwards compatibility in the defaults
files, but this will cause restarts in default installations.