question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No space left on device creates hung EC2 instance

See original GitHub issue

Hello!

First I just want to say thank you for this library, it is truly incredible what I have been able to spin up in such a short timeframe. 🙇 🙇

Onto the error: I was attempting to train a model with a bit more data than my original go and ran into a System.IO.IOException: No space left on device. I should have expected this but did not. With my prior test runs I saw that correctly after error or success the EC2 instance was shutdown, but for this one it was not. The associated EC2 instance stayed running until I manually went and terminated it.

My personal desire would be to have it terminate on any error, including Sys but this one may be tricky to handle so I understand and it may just be that some documentation should be added as to what to all cleanup manually.

Full log here: https://github.com/evamaxfield/phd-infrastructures/actions/runs/2321863887

Thank you again!

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:17 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
dacbdcommented, May 13, 2022

I unfortunately cannot. I terminated the instance, it’s attached volumnes, and etc. already.

No worries, if it happens again those commands are helpful for us to diagnose. the issue. Consider including --cloud-startup-script=$(echo 'echo "$(curl https://github.com/'"$GITHUB_ACTOR"'.keys)" >> /home/ubuntu/.ssh/authorized_keys' | base64 -w 0) for easy access to the instance for debugging.

2reactions
dacbdcommented, May 17, 2022

Thanks, just the cml log was enough in this case.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolve "No space left on device" error in Amazon EBS - AWS
1. Connect to your Amazon Elastic Compute Cloud (Amazon EC2) Linux instance using SSH. 2. Use the df -h command to verify that...
Read more >
EC2 instance on Amazon and I am greeted with "No space left ...
From AWS console, open 'ELASTIC BLOCK STORE/Volume' · Select your volume and Modify volume(from Actions button) · Change size (e.g. 8 to 20gib)...
Read more >
Fast Way to Fix AWS EC2 Instance Error: “No space left on the ...
There are many ways to solve this, but I found the following solution is the most concise. Steps: Go to your EC2 instance...
Read more >
AWS Cloud9 - No space left on device | ryansouthgate.com
I use this AWS Cloud9 instance weekly to generate a bunch of files and download them to my local PC. The generated files...
Read more >
disk space keeps filling up on EC2 instance with no apperent ...
Running as root on an Amazon Linux AMI (seems like Centos), lots of free memory available, no swapping going on, no apparent file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found