Comments (8)
Everyone is allocated only 200MB of disk space on the lambda server, and the
OSError: [Errno 122] Disk quota exceeded
error message indicates that you have sused more than this. Therefore, when you try to write to a file, you cannot, and python generates an error message. This causes your python program to crash and stop processing more input.
All of the print
calls in your code get redirected to a file using output redirection (>
), and so these print statements are what are causing you to exceed your storage, and you should remove them.
Part of the lesson I want you to learn from this assignment is how to process a large amount of data (~400gb) while using only limited resources.
PS. In the future, please copy and paste the error messages into github rather than using images.
from cmc-csci046.
I am getting the same error
OSError: [Errno 122] Disk quota exceeded
when trying to reduce the .lang files and .country files into consolidated folders using:
./src/reduce.py --input_paths outputs/geoTwitter*.lang --output_path=reduced.lang
and
./src/reduce.py --input_paths outputs/geoTwitter*.country --output_path=reduced.country
I used the du --si -s $HOME
command to check my disk usage and it seems like I have 125MB of data left. Are there any suggestions for how I could free up space (it doesn't look like I have any unnecessary print statements) or any consensus on how much space is needed to run these commands?
Edit: I cannot edit files either, as I'm getting an error message saying that my disc quota has been exceeded!
from cmc-csci046.
This was a problem with the lambda server's disk being full, and not you having exceeded your quota limits (see #79 ). It should be fixed now.
Sorry about that.
from cmc-csci046.
@mikeizbicki I am still getting the error of Disk quota exceeded
when trying to create a new directory or cloning a directory from git. I deleted a few directories to see if that can help free up space but it did not work.
from cmc-csci046.
@tadizov There is currently 150Gb free on the hard drive you are on, and you have only used ~15Mb of your 200Mb allocation, so you should be fine. You may have to log in/out for the new settings to take effect.
from cmc-csci046.
@mikeizbicki I am still getting an error when trying to clone a git repository in the form as @tadizov described :
fatal: could not create work tree dir 'trees': Disk quota exceeded
I also ran my initial commands from yesterday's comment again and they're still facing the same errors. I ran these commands just a few minutes before posting this comment.
from cmc-csci046.
@vik-jhun You have a file called .vscode-server
that is taking up your entire disk space allotment. This one reason among many that you should not be using vscode for these assignments.
from cmc-csci046.
@mikeizbicki I understand. Thank you for looking that up so promptly. I've removed the file and it seems to be working now.
from cmc-csci046.
Related Issues (20)
- git clone fails on lambda HOT 1
- How to resolve "error: pathspec 'master' did not match any file(s) known to git" HOT 1
- Hey Mikey
- Confusing Git error HOT 1
- "Resource temporarily unavailable" for flake8 HOT 2
- Error When Running Flake8 HOT 4
- Failing Tests HOT 2
- Cannot find "builds" HOT 3
- Conflicting Files HOT 1
- Error in GitHub Workflow HOT 2
- Pushing to github
- Continuous Integration Issue HOT 1
- Office Hours
- QCL Information
- Linux Extra Credit HOT 2
- Too Many Logins HOT 1
- got an install dependencies issue for all the versions HOT 1
- test pointer says no status HOT 2
- Trouble with merging paths
- Failing tests due to "process completed with exit code 1" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmc-csci046.