You are not logged in.
Running makepkg (either directly, or with yay, while building packages) makes my computer freeze. I don't know how to diagnose the problem because my entire computer becomes unresponsive and the screen freezes. I literally need to use the ON/OFF button to restart it. It's so bad I initially thought it was a hardware problem and something inside my computer had broken, but I got the same behavior on two different computers. Hardware specifications shouldn't be an issue, as both of the computers that I replicated this behavior on have 16 GB of ram. One of them has an 8 core TigerLake i7 and the other has an AMD ryzen 5, so it's also not a processor issue. I know I'm supposed to provide logs/command outputs, but I literally cannot.
Offline
Sounds like a hardware problem and both of your test systems can be affected by the something similar. Check CPU temperatures before the freeze. Try enabling REISUB and check whether you can still reboot using the sequence, then check/post the journal of a failing boot with e.g,
sudo journalctl -b-1
Since the makepkg inference usually means a stressed CPU, check whether you can run the stress tool on all your cores. Check your memory by running memtest over night.
Last edited by V1del (2023-06-30 09:48:12)
Offline
What tools should I use to check the CPU temperatures at a previous point in time? What stress tool are you talking about? I've never encountered this kind of issue in the past and I'm not familiar these diagnostic utilities.
Offline
You should actively monitor the temps during a makepkg run before it freezes, you might already see it going to temps that are "unsafe" and will lead to a crash. I'm talking about the tool called stress which you can configure to stress test cpu cores: https://wiki.archlinux.org/title/Stress_testing#stress I'm assuming makepkg is a red herring and your system is in general unstable under high load.
Offline
"makepkg" of what package?
both of the computers that I replicated this behavior on have 16 GB of ram
there're a bunch of packages where this is gonna be insufficient and you'll run OOM
Offline
"makepkg" of what package?
both of the computers that I replicated this behavior on have 16 GB of ram
there're a bunch of packages where this is gonna be insufficient and you'll run OOM
librewolf
Offline
You should actively monitor the temps during a makepkg run before it freezes, you might already see it going to temps that are "unsafe" and will lead to a crash. I'm talking about the tool called stress which you can configure to stress test cpu cores: https://wiki.archlinux.org/title/Stress_testing#stress I'm assuming makepkg is a red herring and your system is in general unstable under high load.
Thanks for the tool suggestion. It's not exactly great to hear that your hardware is probably faulty, but at least now I know where to start diagnosing and fixing stuff.
Offline
librewolf
Monitor free RAM and Disk space during the build, if you're building in a tmpfs, you'll run OOM - do you have a swap file/partition?
Offline