Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is aws elasticsearch SysMemoryUtilization metric accurate?

I use the AWS elasticsearch service. There is no much data is stored. I use m3.large.elasticsearch instance type. When I check the Maximum memory utilization (SysMemoryUtilization) metric, it is always about 90%. I guess this is the memory usage ratio of elasticsearch instance. Does this mean I need to enlarge my instance memory? Actually, I wondered whether this metric is accurate. Does anyone meet the same situation?

Previously, my elasticsearch instance type is t2.small, the SysMemoryUtilization is almost 90%. I changed the instance type to m3.large.elasticsearch but the SysMemoryUtilization still keeps being almost 90%.

see the SysMemoryUtilization: https://i.stack.imgur.com/PMt2Z.png

like image 613
Xiaowu Feng Avatar asked Sep 07 '19 07:09

Xiaowu Feng


People also ask

What is OpenSearch vs Elasticsearch?

OpenSearch is a fork of the Elasticsearch and Kibana code base which will remain under the Apache 2.0 license. You can find the official OpenSearch project here. This news impacts a much broader ecosystem than at first glance. With over 100 million downloads, Elasticsearch's popularity has eclipsed Solr (pun intended).

How do I check Elasticsearch memory usage?

The Elasticsearch Check-Up is free and requires no installation. You can avoid memory usage issues in Elasticsearch by using the AutoOps platform for Elasticsearch. It will help check for many configuration errors that are related to memory usage in your cluster. Try it for free.

Does Elasticsearch work with AWS?

Getting started with Elasticsearch on AWS To make it easy for customers to run open-source Elasticsearch, AWS offers Amazon OpenSearch Service to perform interactive log analytics, real-time application monitoring, website search, and more.

What is Jvmmemorypressure?

The JVM memory pressure specifies the percentage of the Java heap in a cluster node. The following guidelines indicate what the JVM memory pressure percentages mean: If JVM memory pressure reaches 75%, Amazon OpenSearch Service triggers the Concurrent Mark Sweep (CMS) garbage collector.


1 Answers

yes, it is accurate.

actually, JVM will get all memory needed from OS and use it when if elasticsearch needed. JVM memory is called HEAP and you can check it via this command:

curl -XGET [ES-IP-MASTER]:9200/_cat/nodes?v

you should check HEAP percentage usage and it is dangerous if heap 90% utilized.

like image 185
hamid bayat Avatar answered Sep 19 '22 10:09

hamid bayat