I stopped receiving emails and my blog ran to a grinding halt without any apparent reason. Surprised and very annoyed I looked in:
df -H # To see how much space is left
sudo du -xm / | sort -rn > diskspaceissues # Time-consuming but gives detailed information about which folders are so bloated
It turned out to be the /usr/src folder. I was able to clean it up by running
sudo apt-get purge linux-aws-headers-4.4.0-101
sudo apt-get purge linux-aws-headers-4.4.0-102
sudo apt-get purge linux-aws-headers-4.4.0-103*
... until I'm left with the latest headers followed by
sudo apt-get autoremove
I stopped receiving emails and my blog ran to a grinding halt without any apparent reason. Surprised and very annoyed I looked in:
df -H # To see how much space is left sudo du -xm / | sort -rn > diskspaceissues # Time-consuming but gives detailed information about which folders are so bloated
It turned out to be the /usr/src folder. I was able to clean it up by running sudo apt-get purge linux-aws-headers-4.4.0-101 sudo apt-get purge linux-aws-headers-4.4.0-102 sudo apt-get purge linux-aws-headers-4.4.0-103* ... until I'm left with the latest headers followed by sudo apt-get autoremove