Hi all, I have a 3 node server graylog cluster( version 7.0.1) . And all servers report memory/heap usage too high, like this:
So, i refered docs:Additional Configuration, adding
GRAYLOG_SERVER_JAVA_OPTS=“-Xms8g -Xmx8g -server -XX:+UseG1GC -XX:-OmitStackTraceInFastThrow”
in /etc/graylog/server/server.conf ,and restart graylog server. But still, the web report 2g.
So, anything I missed? Thanks!
Hey @baalkchina,
Remove the option from the server.conf and edit it here /etc/default/graylog-server (or /etc/sysconfig if redhat) instead.
It works! Thank you. The docs maybe modify…
It seems the docs list this too.
Graylog server: Set the heap value in graylog-server, found at:
This file is a text file that you can generally open and update directly by adding the minimum and maximum heap size. It is recommended that you set the both values to be the same, so a typical setting might look like:
GRAYLOG_SERVER_JAVA_OPTS=“-Xms2g -Xmx2g -server -XX:+UseG1GC -XX:-OmitStackTraceInFastThrow”
Yes your are right…sorry for missed…