out of nowhere my ubuntu 22.00 complained that it's memory was full. After some investigation I came across something really, really weird. Potentially worring.
I listed the use of the various dirs in order to try and clean up the system and this is what I found.
cd / sudo du -xhd1
4,0K ./srv
2,5M ./root
248K ./tmp
304M ./opt
6,3G ./home
8,0K ./media
18M ./etc
4,0K ./mnt
16K ./lost+found
84K ./snap
4,0K ./cdrom
6,7G ./usr
475G ./var
174M ./boot
491G .
cd var sudo du -xhd1
454G ./log
52K ./spool
153M ./cache
92K ./tmp
29M ./crash
21G ./lib
176K ./backups
4,0K ./opt
4,0K ./mail
4,0K ./metrics
2,3M ./snap
4,0K ./local
475G .
cd log sudo du -xhd1
4,0K ./gdm3
4,0K ./openvpn
8,0K ./hp
4,1G ./journal
1,4M ./installer
24K ./unattended-upgrades
76K ./cups
4,0K ./speech-dispatcher
26M ./calico
20K ./postgresql
540K ./apt
4,0K ./private
32K ./letsencrypt
36K ./sysstat
444K ./pods
4,0K ./dist-upgrade
44K ./containers
455G .
As you can see my log folder is insanely overflowing. But when I list its content, IT DOESN'T EVEN ADD UP!
What the hell is going on? Please, if you have any idea, let me know. Thank you so much in advance
sudo du -xhd1 *
ls -al
from the/var/log
directory so that you can see the largest log files. Then I would look into why those files are so large. You might be experiencing a hardware failure.df
orsudo du -sk /*
. Readman df du
. Please read askubuntu.com/help/how-to-ask and askubuntu.com/help/formatting