0

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

1 Answers1

0

Thank you very much everyone for the suggestions, ultimately, since luckily I was able to store everything safely I deleted the partition. I am very inclined to belive that I was experiencing some sort of hardware failure. I may have miscinfigured the dual boot with windows, because I have always used Linux on older computers, and it was very strangely acting up lately. I may retry dual booting and being more careful in the process