Why my computer froze (system logs inside)?

After being in a dormant state for over 12 hours, I assumed that nothing can be done and force-rebooted the system by holding a power button (for over five seconds).

system logs retrieved with journalctl, filtered around at the time of the incident:

journalctl --since "2021-02-19 16:00:00" --until "2021-02-20 11:00:00" (note the -- Reboot -- point)

https://paste.centos.org/view/raw/b899257a (archive) (exceeded the ask.fedoraproject.org character limit)


Additionally, would this have been solvable if the magic SysRq key had been enabled? Or what if I were running an SSH server on the machine?

1 Like

Try it out. Here how to secure ssh server access:
https://docs.fedoraproject.org/en-US/Fedora/21/html/System_Administrators_Guide/s2-ssh-configuration-keypairs.html

If you have access from internet to this machine, consider to change default port 22 to something else and do a port forwarding via Firewall/Router.

1 Like

Check the output:

free -m; swapon -s; zramctl

It can help to some extent assuming the problem is not a kernel panic.

              total        used        free      shared  buff/cache   available
Mem:           7624        2382         273         651        4969        4293
Swap:          3811         392        3419
Filename                                Type            Size    Used    Priority
/dev/zram0                              partition       3903484 401584  100
NAME       ALGORITHM DISKSIZE   DATA  COMPR  TOTAL STREAMS MOUNTPOINT
/dev/zram0 lzo-rle       3.7G 388.1M 133.5M 139.2M       4 [SWAP]
1 Like

Looks fine, so it doesn’t seem to be a swapping problem.