내용으로 건너뛰기

Need Information About DMS Instance Low Memory Thresholds

0

In order to create effective high memory CloudWatch Alarms for DMS Instances, an effort has been made to observe the behaviour when a DMS Replication Tasks is "Stopped" with and Out of Memory Error.

Observed Behavior.

  1. Set DMS Instance machine class to something small.
  2. Start many "Full Load and Ongoing" Migration Tasks simultaneously.
  3. Eventually, one or more tasks will transition to a stopped state with the "Last Error" being "Out of Memory."

This indicates that there must be a high memory threshold that the instances use to monitor memory. Replication Tasks seem to be stopped with an "Out of Memory" error, while the instance continues and is available. This makes sense in an effort to not crash the dms instance, some tasks are taking out and placed in a "stopped" state.

I have two questions regarding the observance (please correct if observation is not correct).

  1. Is there any information about which task(s) are chosen as the victim when a memory threshold is reached?
  2. In order to create a low available memory alert, I would like to stay below the dms instances low memory threshold, is there any information relating to this threshold?
1개 답변
1
수락된 답변

Hello,

You may review blog which talks about how to setup cloudwatch alarm including low memory.

https://aws.amazon.com/blogs/database/setting-up-amazon-cloudwatch-alarms-for-aws-dms-resources-using-the-aws-cli/

About the first question, all task not necessary will go into low memory at the same time, I do not think there is any mechanism or method to choose which task to stop, whenever any task reached to point where DMS replication instance can't give more memory it will stop/crash.

Hope this will be helpfiul. Thanks

AWS
답변함 3년 전

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

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