r/MXLinux • u/VentuButWhy • 19d ago
Help request Very Big "syslog"
Greetings!
Basically, I have a drive of about 116 GB. I installed this system about a week ago and have felt pretty alright in it so far. but now the drive is REALLY full. My home folder is marked to only be using around 20GB, and upon inspection, apparently this "syslog" file/folder is taking up 40.
From what I looked up, this would mean there's something spamming errors? But I couldn't quite understand what commands I'm supposed to use to find out the "spammer program", and I also don't think I understand the function of these logs enough to jump to deleting them.
Therefore, that's what I'm here to ask. How can I delete or reduce the size of this file, and/or prevent it from filling up my drive like this again?
4
u/shackett74 19d ago
If it were me, I would truncate the log and reboot the system. After it has booted back up you can check dmesg and the syslog to see what is causing the issue and attempt to remedy it.
Edited to add: if you google search 'huge syslog' you'll see this isn't all that abnormal and can find some steps to take that could further assist you.
2
u/Affectionate-Owl9598 18d ago
Check the list of kernels; if there are any old ones, you can remove them, keeping only the two most recent. You can also remove system languages that you don't use, which will help free up some space. Additionally, clean up orphaned packages and leftover program files.