Ubuntu out of space

  • Posted January 7, 2014

I recently received a message that I am out of space in ubuntu. I checked and It says I have used all 20 gigs. I have not used but maybe 30 megs. Any ideas?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, all

You can examine the disk space usage and delete any data which is not crucial to your application or website. What is the output of the following command:

  1. df -h

Also, I could suggest following the steps from this answer here on how to find the folders that are using the most disk space:

The other option will be to resize the droplet. You can check this article on how to resize your droplet:

Regards, Alex

Figured it out. unicorn.log was over 17.5 gigs. How in the world does that even happen?

I saw it when I tried adding code to the server. Then i checked with the df -h and it said 100% was used.

Hmm. <br><blockquote>I recently received a message that I am out of space in ubuntu.</blockquote> <br>Where did you see that message?

Filesystem Inodes IUsed IFree IUse% Mounted on <br>/dev/vda 1.3M 144K 1.2M 12% / <br> <br>

Odd. You might be running out of inodes, what’s the output of <pre>df -hi</pre>?

Filesystem Size Used Avail Use% Mounted on <br>/dev/vda 20G 20G 0 100% / <br> <br> <br>Here is an imagine of the same from a couple weeks ago. I have added very little code to it. My whole app is tiny. <br> <br>Filesystem Size Used Avail Use% Mounted on <br>/dev/vda 20G 3.1G 16G 17% / <br>udev 243M 4.0K 243M 1% /dev <br>tmpfs 99M 224K 99M 1% /run <br>none 5.0M 0 5.0M 0% /run/lock <br>none 246M 0 246M 0% /run/shm <br>none 100M 0 100M 0% /run/user <br> <br> <br>

What’s the output of <pre>df -h</pre>?