So, I just deleted a 666.5 GiB log file from my system.
Have to investigate what causes a log file to balloon to such size. That’s insane!
If anyone has a clue how to prevent such humongous log files, please let me know.
So, I just deleted a 666.5 GiB log file from my system.
Have to investigate what causes a log file to balloon to such size. That’s insane!
If anyone has a clue how to prevent such humongous log files, please let me know.
@His_Turdness has big logs
Am at work, where were the logs? (I can’t stop giggling!), are they part of journalctl?
The path to the file was ~/.config/OpenRGB/logs
Just looking at this path there are tons of log files of mostly small sizes, but even now there is one 2 GiB file, one nearly 1 GiB file and one 126 MiB file.
The 666.5 GiB file was weird, because my main NVME is only 512 gigs.
$ ~/.config/OpenRGB/logs ls -l
total 44
-rw-r–r-- 1 friese friese 15797 Dec 12 21:26 OpenRGB_20241212_212351.log
-rw-r–r-- 1 friese friese 9423 Dec 13 11:14 OpenRGB_20241213_111432.log
-rw-r–r-- 1 friese friese 12508 Dec 21 18:02 OpenRGB_20241221_180147.log
I guess I’m fine. 37.0 KiB aren’t that severe.
The only reason OpenRGB exists on my machine has been the attempt to control / automate my ambient led bars (Govee TV Backlight 3 Lite) as well as the monitor light bar (cheapo variant from Blitzwolff). Syncing them with KDEs night light feature. Other than that, no decorative LEDs on my hardware.
I only use it to turn off the LEDs. It’s a nice piece of software though.
Desoldering won’t produce any logs… save a few milliwatts and maybe 0.5 kWh a year.
So if you want to save a few bucks, just risk your hardware by desoldering the LEDs. And soldering in 0 Ohm resistors or a wire bridge instead if you want to be on the save side.Totally worth it for the savings of maybe a few bucks a decade.
/s
Maybe you can disable logging
That is weird, the sum of your files cannot be bigger than the size of the disk unless running LVM or clustering; what file system are you running?
Found an article today on bealdung. May have a look into.
https://www.baeldung.com/linux/cron-logograte-delete-log-files
BTRFS. It must’ve been some weird error, because deleting the huge file didn’t free up much space. Though it did take forever to delete.
I have never had any luck with BTRFS, it has killed every install I tried.
Seems like a good solution. I wish there was a nice GUI tool to set it up.