That would also kill my running programmes, wouldn't it?
/fglt/ - Friendly GNU/Linux Thread
Yep, if started in X.
You could also fix the problem so that you don't have to reisub.
>What else am I supposed to do when something crashes?
What are you doing when "something" crashes? There might be something causing it that can be fixed so it stops causing problems. Is it a specific program or the entire OS? Is there ever an error message?
I don't understand. My complaint is that pressing alt+sysreq+k fucks my system so hard that I need to REISUB. This is independent of whether or not my system was already fucked.
You're right, I should've been more clear. I'm talking about when the system lags so hard that it doesn't even let you move your mouse and all of the graphical shit like the clock stops showing any signs of life. Usually this is a result of a program eating a lot of memory. For example, I once caused such a situation by trying to play a game in a windows VM whilst the Ubuntu host machine was trying to use a browser without an ad blocker.
>My complaint is that pressing alt+sysreq+k fucks my system so hard that I need to REISUB
Then stop doing it? Why are you even using SysRq at all? Those key sequences are suppose to be a last resort.
Okay then. How much RAM are you giving to the VM? It sounds like the VM is using too much RAM and you're running out of swap leaving your machine nothing left to work with. How much RAM does your machine have and how much is the VM allocated?
>Then stop doing it?
I will. That's why I posted , because I don't understand what the point of alt+sysreq+k is. Although 's answer suggests that I'm never going to be in a context where its appropriate.
And hey - I did mention that I usually press it by accident.
>Why are you even using SysRq at all? Those key sequences are suppose to be a last resort.
What should be my first resort? Ctrl+alt+F1 did nothing and I've only just learned that I should probably be using ctrl+alt+F3. Should I make a note of ctrl+alt+backspace?
Don't worry about that. It was just one example. I know that I should be careful with how hard VMs can push my system.
Okay, if the VM was just one example the next thing I'm curious about is what version of Ubuntu are you using? There have been a LOT of problems reported with 19.04. A lot of strange issues have been cropping up with it and many have had stability issues. It seems like it was released too early and not tested very well.