this post was submitted on 13 Dec 2024
27 points (100.0% liked)

linux4noobs

1903 readers
41 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

founded 2 years ago
MODERATORS
27
[Solved]PC froze, now what? (discuss.tchncs.de)
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

What do I do, when my PC freezes?

Windows has ctrl+alt+del, does Linux Mint has something comparable? The only thing I know about is REISUB, but that borked my PC, so I am hesitant to use that again.

Are there any remaining alternatives to waiting and/or using the power button?

Edit: Thank you all for your insights and possible fixes. Crashes usually happened when I was running (cpu/ram?) heavy workload. Increasing swap space was not even on my radar, so I did that now. :) Hopefully Mint will run more stable now.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 11 points 4 months ago (6 children)

This depends a lot on the type/source of the freeze. What were you doing at the time? Are you experiencing regular crashes? What is your hardware like? (laptop/desktop, year, make, model)

Is it just the window manager/desktop environment? Ctrl + Alt + F7 should take you to a different TTY session where you can login and give a reboot command. (actually any F# key should work)

The sysreq keys should always work if the OS is locked up. How are you using REISUB? Do you know what instruction each letter sends? Are you waiting in between pressing them? If using this "borked your PC", the most likely reason is that your system was busy writing something to the hard drive that is related to the OS and was interrupted. How was it "borked"? Did your bootloader start? Did your OS try to start?

One thing you can do if nothing seems to be responding is tap the NumLock key. If the indicator light changes you know 3 things:

  1. The keyboard is working.
  2. The USB driver and OS are actively responding to input devices, even if the display is frozen.
  3. The CPU is alive and not stuck.

If the light changes then you should be able to tap the power button for a soft reset/graceful shutdown.

If the light does not change then you should first check your keyboard (is it plugged in? is it wireless? does it need a new battery?) but if that's not the problem then all you can do is force a shut down, because the system is not responding to input.

There are a lot of potential problems that can produce a "freeze", with the most basic being an issue with the mouse/keyboard or the USB port they're plugged into. I once thought my computer was freezing because I was using a Logitech wireless mouse that was bound to 2 different USB receivers plugged into different computers, and the input would randomly switch from one to the other (seriously check the simple stuff first). You could also have a problem with your RAM, hard drive, GPU, CPU or motherboard which could each produce symptoms like freezing. If you have regular crashes you should be checking your hardware.

To really answer the question "what can I do?" requires more context, and requires you to do some checking to judge the severity of the crash.

[โ€“] [email protected] 1 points 4 months ago

Since crashes usually happened under heavy workload (I guess CPU/RAM heavy stuff) and I didn't pay attention to swap space before, I think this was the most likely cause. I increased it and will have to wait and see if it helps. If not, I'll consult your comment here :)

load more comments (5 replies)