You are not logged in.

#1 2023-06-30 09:19:44

nicolasdumitru
Member
Registered: 2023-05-21
Posts: 4

makepkg causes freezes

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

#2 2023-06-30 09:47:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,376

Re: makepkg causes freezes

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

#3 2023-06-30 19:46:15

nicolasdumitru
Member
Registered: 2023-05-21
Posts: 4

Re: makepkg causes freezes

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

#4 2023-07-01 11:37:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,376

Re: makepkg causes freezes

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

#5 2023-07-01 11:54:50

seth
Member
Registered: 2012-09-03
Posts: 63,424

Re: makepkg causes freezes

"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

#6 2023-07-03 15:50:33

nicolasdumitru
Member
Registered: 2023-05-21
Posts: 4

Re: makepkg causes freezes

seth wrote:

"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

#7 2023-07-03 15:53:10

nicolasdumitru
Member
Registered: 2023-05-21
Posts: 4

Re: makepkg causes freezes

V1del wrote:

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

#8 2023-07-03 16:32:03

seth
Member
Registered: 2012-09-03
Posts: 63,424

Re: makepkg causes freezes

nicolasdumitru wrote:

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

Board footer

Powered by FluxBB