oldBastard
Expert Member
I think I’m going mad
Getting Graylog up in docker, the host as 7Gig memory, but the keep getting following error
Have set in the datanode container env
Even mapped datanode.conf with
Yet keep getting the Heap size warning.
Am I missing something?
Getting Graylog up in docker, the host as 7Gig memory, but the keep getting following error
Code:
Data Node Heap Size Warning
(triggered 15 minutes ago)
There are data node nodes in the cluster which could potentially run with a higher configured heap size for better performance.
Data node datanode only has 1 GB Java Heap assigned, out of a total of 7 GB RAM.
Currently, there is 6 GB free memory available on the node. We recommend to make an additional half of this available to the Java Heap.
Note: For production performance, it is recommended to configure this node to use 3 GB Java Heap (50% of RAM).
The Java Heap can be configured using the opensearch_heap configuration parameter in the node's configuration file (datanode.conf).
Have set in the datanode container env
Code:
OPENSEARCH_JAVA_OPTS: "-Xms3g -Xmx3g”
Code:
GRAYLOG_DATANODE_OPENSEARCH_HEAP_SIZE: “3g”
Even mapped datanode.conf with
Code:
opensearch_heap_size = 3g
Yet keep getting the Heap size warning.
Am I missing something?
Code:
docker exec -it graylog-datanode-1 ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2788 964 ? Ss 20:41 0:00 tini -- /entrypoint.sh graylog-datanode
graylog 7 6.8 8.5 6841520 698744 ? Sl 20:41 0:26 /usr/share/graylog-datanode/jvm/bin/java -Dlog4j.configurationFile=file:///etc/graylog/datanode/log4j2.xml -Xms1g -Xmx1g -
graylog 443 22.1 20.7 7248512 1687248 ? Sl 20:41 1:23 /usr/share/graylog-datanode/dist/opensearch-2.15.0-linux-x64/jdk/bin/java -Xshare:auto -Dopensearch.networkaddress.cache.t
root 881 0.0 0.0 7064 1536 pts/0 Rs+ 20:47 0:00 ps aux