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?
profile picture
asked a year ago230 views
1 Answer
1
Accepted Answer

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
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions