Back to News
Advertisement

Ask HN: How do you troubleshoot desktop Linux crashes/freezes?

CCuriositry about 5 hours ago 2 comments

RU version is available. Content is displayed in original English for accuracy.

I've been using Linux all my life. I’d like to be able to claim that it’s stable, but that’s not my experience :) So I’d like to get better at recovering from freezes and crashes, and finding the root cause.

I make extensive use of Ctrl+Alt+f3, and magic system request keys (Ctrl+Alt+PrtSc+f; Ctrl+Alt+PrtSc+reisub). But often the system is too far gone to drop to a virtual terminal. In these cases, I usually try to find clues in dmesg/syslog/journalctl.

The bulk of issues seem to be caused by Nvidia GPUs, and suspend.

What are your go-to commands for recovery? And, when that isn't an option, how do you post-mortem after rebooting?

Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 57 words in the discussion.

Trending Topics

#years#ago#suspend#dicey#windows#things#improved#still#pressing#luck

Discussion (2 Comments)Read Original on HackerNews

BobbyTables2about 2 hours ago
30 years ago, suspend was dicey in Windows.

Things have improved but you’re still pressing your luck…

What about SSH in to debug before rebooting? Or maybe log with the kernels’ net console feature (mainly wired Ethernet), assuming a physical serial port isn’t available

rythmshifterabout 2 hours ago
Claude has me doing fancy stuff with dmesg and journalctl. Can’t pretend to understand a lot of it but it has saved my butt a few times.