What is filling my file system on EC2

by jola   Last Updated June 16, 2019 12:00 PM - source

On my EC2 AMI instance I have an issue that it gets out of memory now and then. And I don't know how to find what is causing it... If I do

$ sudo df -h

I can see that this takes up all my memory (or 80% in this case since I managed to clean some log files):

/dev/xvda1      8.0G  6.4G  1.7G  80% /

I would expect

sudo find / -type f -size +10M -exec ls -lh {} \;

to find other large files, but he size of the files returned with that command is far from 6.4G. Why is that, and how do I do to locate the rest? Thx!



Related Questions


AWS High Memory Usage. How to detect the cause?

Updated October 25, 2018 03:00 AM

EC2, Tomcat, Amazon Linux and Out of memory

Updated January 25, 2019 11:00 AM

how to determine who is using the slabs?

Updated October 20, 2018 11:00 AM

Idle AWS EC2 but high memory usage, bug of EC2?

Updated December 10, 2015 08:00 AM