Amazon Opensearch MasterJVM Memory Pressure usage gets high after upgrading Data nodes

0

Can someone help me to understand why my Master JVM Memory Pressure suddenly goes high after I upgraded my Data nodes instance type?Enter image description here

질문됨 2년 전1343회 조회
2개 답변
0

Hi there,

Is it not likely that you have created virtual traffic by needlessly upgrading the nodes thus allowing the JVM to believe that the cluster is receiving more traffic than it really is, but for safety sake go through the following best practices for JVM pressure regulation.

Troubleshooting high JVM memory pressure: (https://aws.amazon.com/premiumsupport/knowledge-center/opensearch-high-jvm-memory-pressure/)

Here are the best practices below for your convenience:

You can resolve high JVM memory pressure issues by reducing traffic to the cluster. To reduce traffic to the cluster, follow these best practices:

  • Clear the field data cache with the POST /index_name/_cache/clear?fielddata=true API operation. Note: Clearing the cache can disrupt queries that are in progress.
  • Avoid aggregating on text fields or change the mapping type to keyword.
  • Scale the domain (so that the maximum heap size per node is 32 GB).
  • Enable slow logs to figure out faulty requests. Note: Verify that the JVM memory pressure is below 90%. For more information about slow Elasticsearch queries, see Advanced tuning: finding and fixing slow Elasticsearch queries on the Elasticsearch website.
  • Optimize search or indexing by choosing the correct number of shards. For more information about indexing and shard count, see Get started with Amazon OpenSearch Service: How many shards do I need?
  • Reduce the number of shards by deleting old or unused indices.
  • For advanced users, you can update the parent, fielddata, or request circuit breaker settings according to your use case. For more information about JVM circuit breakers, see JVM OutOfMemoryError.
답변함 2년 전
0

In addition to what's already provided, take a look at CloudWatch Metrics to see what's going on with the memory using the steps outlined.

https://aws.amazon.com/premiumsupport/knowledge-center/opensearch-high-sysmemoryutilization/

AWS
nael
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인