Score:0

System randomly freezes; unable to access terminal; restart fixes for a couple days

vi flag

I'm having this weird issue where after a while, my system just locks up. None of the CTRL+ALT+F* keys bring up the terminal or login, and only after a restart do things work again. During the time when things are locked up, I can't connect to any of my Docker containers or via SSH. Right now, all it runs is SSH and Docker on Ubuntu 22.04.2 LTS. I use it mostly headlessly, but I've had an inactive SSH connection to the machine for the past couple days. The very last logs were that it was starting livepatch via snap. I thought livepatch was supposed to avoid shutdowns. Could this be the cause? Logs follow.

Here's a dump from journalctl -b -1 -e: https://pastebin.ubuntu.com/p/5ScX6qPsMJ/

There is nothing in /var/crash.

Memory and swap information:

               total        used        free      shared  buff/cache   available
Mem:        98970988     5630200    90493816       47532     2846972    92464004
Swap:        2097148           0     2097148

Looking for ideas. Happy to provide further logs. Thanks in advance!

waltinator avatar
it flag
How much RAM do you have? How much SWAP? The `free` command will tell you. Read `man free mkswap swapon`.
numerous avatar
vi flag
@waltinator Updated the question with RAM/SWAP information. Looks like there is a lot available, though I can't speak for what happened during the problem this morning.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.