Score:0

Ubuntu 20.04.03: computer freezes randomly in rare circumstances

us flag

Five days ago I installed Ubuntu 20.04 LTS on my computer. As the title says, from time to time the computer would freeze completely, and I have no chance of giving any input to the machine since mouse and keyboard do not work. It doesn't happen regularly, but when it does I'm forced to turn off the computer using the power button. This is my hardware configuration

CPU: AMD Ryzen 5 1600X Six-Core Processor
GPU: AMD Radeon RX580X
MOBO: MSI B450 Tomahawk Max
RAM: 4GBx2 Crucial Ballistix Sport (ddr4, 2400 MHz)

Running the command free -h this is the output

total        used        free      shared  buff/cache   available

Mem:          7.8Gi       2.4Gi       3.6Gi        66Mi       1.7Gi       5.0Gi
Swap:         2.0Gi          0B       2.0Gi

Thank you for your attention.

in flag
If you use a lot of browser tabs or Electron-based applications, then that 2GB swap is simply insufficient. [You may want to increase it to 16GB](https://askubuntu.com/a/1264577/1222991) or so and see if this reduces the problem
Panopantec avatar
us flag
Thank you, I followed your advice. I'll keep an eye on it to see if the problem disappears
Panopantec avatar
us flag
@matigo Here I am again. Following the advice given I have increased the Swap space. The system froze again a few minutes ago, the only difference was that I was able to move the cursor, but the system was not responding. I couldn't open the terminal or restart the machine. Once again, I had to turn off the computer manually
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.