The other day my PC randomly threw an error saying my hard drive was full. I quickly deleted some games so it wouldn’t freeze and then went to look wtf happened to see the xorg.log file was over 200 gigs!! I deleted it and rebooted and was fine.
But what in the world would cause this??
All AMD system, Linux mint.
It could be anything. A good start is to look at… the log.
A lot of us noobs haven’t learned how to do this yet. It is unfortunately, not part of most distros Intro guide
Haven’t learned how to… open a file?
Sometimes the log can be, let’s say less useful. Then I’d check the monitor cable. And if the log starts growing after suspend-resume, as that can be buggy.
dmesg(as root or using sudo) prints out all kernel messages since boot, and can also be useful. Xorg errors are usually hardware or driver problems.Also if you messed with bios… Like the pcie settings.
Unfortunately its deleted now, and i wouldn’t understand what I’m looking at
What was in the log?
You probably have debug logging enabled somewhere.
if this happens again it’s probably a good idea to check the logs.
also try logrotate
be mindful though tgat logging if not configured right can put a lot of wear on your SSD, so it might be an idea to set logrotate to Something rather small and mount your log directory (if you generally don’t need logs to survive a reboot) to a tmpfs Mount(if you’ve got some RAM to spare)


