mikeizbicki / cmc-csci046

CMC's Data Structures and Algorithms Course Materials
52 stars 152 forks source link

Disk quota full with 50M #542

Closed PArellano02 closed 1 year ago

PArellano02 commented 1 year ago

Hello, I had my disk quota full with 110M and deleted 60M by deleting my risk directory. I am under the impression that we each have 100M of storage on the lambda server but I am still getting the error message

-bash: cannot create temp file for here-document: Disk quota exceeded

and when I run the command

du -hd1 $HOME

I get the following output

4.0K    /home/Pedro.Arellano.25/quiz
35M /home/Pedro.Arellano.25/.local
4.0K    /home/Pedro.Arellano.25/.cache
15M /home/Pedro.Arellano.25/proj
280K    /home/Pedro.Arellano.25/.vim
8.0K    /home/Pedro.Arellano.25/.config
8.0K    /home/Pedro.Arellano.25/.gnupg
50M /home/Pedro.Arellano.25
-bash: cannot create temp file for here-document: Disk quota exceeded

confirming that I am only using 50M of storage. All of my projects are under the proj directory where my map.py file ran over all of the zip files. This does not seem to take much space but I am unable to reduce the files because I cannot write any of my changes after modifying either the visualize.py or reduce.py files due to my disk quota. Should I keep deleting other files or is there another solution to this?

mikeizbicki commented 1 year ago

I'm closing because I just logged into the lambda server under your account and cannot reproduce this. I believe this was just a temporary issue for some reason.

PArellano02 commented 1 year ago

Hello,

unfortunately, I still get the same error:

"src/map.py" E514: write error (file system full?)

do you have any idea of what might be causing this error if not the disk quota?

mikeizbicki commented 1 year ago

Hmmm... for some reason the system thinks your account is using about 2G of disk space. I can tell because I ran the following command:

$ sudo quota -su Pedro.Arellano.25
Disk quotas for user Pedro.Arellano.25 (uid 1214): 
     Filesystem   space   quota   limit   grace   files   quota   limit   grace
 /dev/nvme0n1p2   1964M*   100M    200M   7days    3853       0       0        

I tried tracking down where those files are located, but I couldn't figure it out. So instead, I just upgraded your disk quota to be 2200MB. This should fix the problem.