hi i have set up a docker compose version of graylog 6
The java heap on the new node is showing max 1.98G but i have set the min heap in GRAYLOG_SERVER_JAVA_OPTS as 3G in the docker compose file and I can see this in the running container using docker inspect
“Env”: [
“GRAYLOG_ROTATION_STRATEGY = count”,
"GRAYLOG_TRUSTED_PROXIES= xxxx
“GRAYLOG_REPORT_DISABLE_SANDBOX= true”,
“GRAYLOG_SERVER_JAVA_OPTS = -Xms3g -Xmx4g -XX:NewRatio=1 -server -XX:+ResizeTLAB -XX:-OmitStackTraceInFastThrow”,
“GRAYLOG_HTTP_BIND_ADDRESS= 0.0.0.0:9000”,
Thanks for replying. The graylog 5 is not a container. It is a pre-existing version that I am going to replace with graylog 6, they are both using the same mongodb and opensearch external installs. both have the save java heap config.
Peter
docker docs say there are no default restrictions
“By default, a container has no resource constraints and can use as much of a given resource as the host’s kernel scheduler allows.”