Currently I am facing an issue of high ram utilization(cached memory) which persist for longer hours.My system configuration as follows:
–> 16GB RAM
–> AMI- amazon ec2
Elasticsearch config as follows:
GRAYLOG_SERVER_JAVA_OPTS="-Xms1g -Xmx1g -XX:NewRatio=1 -server -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow"
So could you please suggest a way forward to overcome this issue.
That’s the JVM configuration of Graylog. What about Elasticsearch?
Also, what’s bad about a good utilization of your main memory? Half of what’s used is being used as cache (i. e. disk cache) which speeds up things considerably and zero (0) swap memory is being used.
See https://www.linuxatemyram.com/ for more information.
Still that does not cover the JVM Settings of Elasticsearch. Please refer to the documentation where to find them - depending how you installed Graylog.