Hello! Need some help with failed runs. This migh...
# ask-metaflow
j
Hello! Need some help with failed runs. This might be more of a AWS question, any help is appreciated. I have a large batch step with 7000+ splits (will look into grouping them into smaller # splits). After few smooth tasks of this step, it fails with Docker timeout. I have seen other threads relating to checking EBS burst balance of failed tasks and using custom launch templates. 1. These EBS instances seem to clear soon, is having them run again and monitor till they fail again the only way? 2. More important Metaflow related question: The console output of my flow script showed step failed and the task have "killed by orchestrator". The UI still showed one of these tasks to be running. And it was infact still running when I looked into Batch Jobs. Any idea on why or when this happens. i.e - Metaflow says that its killed but the job not being killed? Thank you!
1
s
@jolly-afternoon-77975 for the second question - Metaflow does a best effort kill of all the running AWS Batch jobs. If you want to make sure all jobs are cleaned out - you can explicitly call
python flow.py batch kill --help
re: the first question - can you elaborate on the need to monitor these instances?
j
Thanks for the quick response @square-wire-39606. Totally forgot about the kill option. I shall try that. Re:1 This is following the instructions from the troubleshoot guide linked in related threads here. https://repost.aws/knowledge-center/batch-docker-timeout-errorhttps://repost.aws/knowledge-center/batch-docker-timeout-error The says to use the monitor tab and check if burst balance drops to 0. But when I tried to check that there was no EBS volumes visible. I was able to view when the flow was running, so I guess there is a way. And also somewhere in cloud watch maybe?