Why Does My Computer Restart When Compiling Applications?

0
10
Asked By TechWhiz42 On

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

Answered By UserExpert77 On

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.

TechWhiz42 -

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

Answered By FixItFred On

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.

TechWhiz42 -

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.

TechWhiz42 -

Had a look, and it’s mostly just the crash/dump messages. The memtest is still running as well.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.