The symptoms you describe are exactly what happens to my machine when it runs out of memory and then starts swapping really hard. This is easy to check by seeing if disk io also spikes when it happens, and if memory usage is high
Comment on How to auto-reboot if CPU load too high?
PlutoniumAcid@lemmy.world 8 months agoNope, haven’t. It says I have 2 GB of swap on a 16 GB RAM system, and that seems reasonable.
Why would you recommend turning swap off?
maxwellfire@lemmy.world 8 months ago
marcos@lemmy.world 8 months ago
To check if your problem is caused by excessive memory usage requiring constant swapping. If it is, turning swap off will make some process be killed instead of slowing the computer down.