title: How can I find out why my storage space on Amazon EC2 is full?
body: <p>When I run <code>df -h</code> on my Amazon EC2 server, this is the output:</p>
  <pre><code>[ec2-user@ip-XXXX ~]$ df -h
  Filesystem            Size  Used Avail Use% Mounted on
  /dev/xvda1             25G   25G     0 100% /
  tmpfs                 4.0G     0  4.0G   0% /dev/shm
  </code></pre>
  <p>For some reason, something is eating up my storage space.</p>
  <p>I am trying to find all of the big files/folders
  and this is what I get back:</p>
  <pre><code>[ec2-user@ip-XXXX ~]$ sudo du -a / | sort -n -r | head -n 10
  993580  /
  639296  /usr
  237284  /usr/share
  217908  /usr/lib
  206884  /opt
  150236  /opt/app
  150232  /opt/app/current
  150224  /opt/app/current/[deleted].com
  113432  /usr/lib64
  </code></pre>
  <p>How can I find out what's eating my storage space?</p>