Hey there! I've got a bit of a puzzler on my hands. I recently set up a new machine with Rocky Linux 10, and whenever I try to compile an application, the screen goes blank and the system restarts. This happens regardless of the application I'm compiling; for instance, I've experienced it with both Boost and Apache Thrift. I don't think it's a thermal issue since I ran a stress test with Prime95 for an hour without any problems, and the crash happens pretty quickly even during small builds. I could really use some advice on how to pinpoint the cause of this issue. Thanks!
2 Answers
Could your power supply unit (PSU) be having issues? I'd suggest checking what CPU, motherboard, and PSU you’re running. It could be underpowered for the load you're putting on it.
Take a look at the /var/log/messages file to see what's logged just before the reboot. You should find multiple message files that might give you clues. If nothing stands out, consider checking your disk's SMART data to assess its health, as many drives fail without warning.
I appreciate that! I’ll check it out tomorrow. But so far, I’ve only found a crash/dump message in there. I’ve started a memtest since I’ve got 128 GB; I know that could take forever though.
Had a look, and it’s mostly just the crash/dump messages. The memtest is still running as well.

The PSU is actually oversized for what I need, and I haven’t seen any issues during the stress testing.