PDA

View Full Version : [ubuntu] what should i do when ubuntu freezes?



T2manner
November 9th, 2008, 05:06 AM
in windows, when something froze i could just to Ctrl+Alt+Delete (ctrl+shift+esc) and end the app/process.

what should i do when something freezes in ubuntu?

tweakedenigma
November 9th, 2008, 05:12 AM
if its just a progeam then System > Administration > System Monitor will give you pretty much the same options as the Windows Task Manager. If everything freezes CTRL+ALT+Backspace will restart X.

niccholaspage
November 9th, 2008, 05:13 AM
I would just do a CTRL+ALT+BACKSPACE.

Shazaam
November 9th, 2008, 05:33 AM
And if the above posts do not work do this...
Hold down your Alt+SysRq (PrintScreen) keys and type reisub.
From here...
http://fosswire.com/2007/09/08/fix-a-frozen-system-with-the-magic-sysrq-keys/

T2manner
November 9th, 2008, 05:37 AM
And if the above posts do not work do this...
Hold down your Alt+SysRq (PrintScreen) keys and type reisub.
From here...
http://fosswire.com/2007/09/08/fix-a-frozen-system-with-the-magic-sysrq-keys/

yeah, but i heard that that's not really safe a lot of the time and that you should stay away from using that command.

lykwydchykyn
November 9th, 2008, 05:46 AM
yeah, but i heard that that's not really safe a lot of the time and that you should stay away from using that command.

It's safer than just cutting the power, if it comes down to that.

If I get a process locking up the system, my method is:

- ctrl-alt-esc (xkill)
- ctrl-alt-f1 to virtual terminal and use kill or killall
- ctrl-alt-backspace to kill my x session
- alt-sysrq-rseiub (I learned it in a different order: Raising skinny elephants is utterly boring)
- cut the power.

That's a "failover list"; i.e. -- if the first one fails go to the next.

handydan918
November 9th, 2008, 05:47 AM
yeah, but i heard that that's not really safe a lot of the time and that you should stay away from using that command.

Yeah, good point, but the theory of that command is that it is safer than a hard shutdown.

In reality, if you have installed Ubu with an ext3 filesystem, it will probably recover flawlessly from an inelegant exit.

Edit: Hey again, lykwyd! Good tip! hard to beat a good "failover" (which I constantly hear pronounced as "fallover").