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.

      • gens@programming.dev
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        17 days ago

        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.

  • derbolle@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    12 days ago

    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)