I’m using an XPS 13 9350 with 16GB of RAM and the Intel Graphics 540. I am using Fedora KDE spin. When I am using computer, either randomly or when I start a program, my computer will slow down and quickly fully freeze. In this state, the only thing I can do is shut it down. Is there any way to make it so that a program is killed, or something else that doesn’t fully stop my system?
Ctrl + Alt + F[1-0]
to access other TTYs which might still be responsive even if your desktop environment is unresponsive. Pull uptop
/htop
and ID the problematic process to kill.Agree with using an oom killer.
Do you need more swap? Can use swap file if expanding swap partition is problematic.
Ahh, the old ‘ssh into my primary from my old laptop’ trick. Works well.
Slows down then freezes sure sounds like an out of memory situation, so to add to yours here he might actually want less swap. Sometimes you would rather hit the oom killer sooner instead of waiting on swap to fill.
Ideally login via SSH from another machine to figure out what is using the memory (hopefully the system is responsive enough for SSH), and if it is your critical programs causing the problem then you should consider a memory upgrade.
Thanks, I’ll check these out the next time this happens.