ubuntu freeze

If it locks up completely, you can REISUB it, which is a safer alternative to just cold rebooting the computer.

REISUB by:

While holding Alt and the SysReq (Print Screen) keys, type REISUB.

R:  Switch to XLATE mode
E:  Send Terminate signal to all processes except for init
I:  Send Kill signal to all processes except for init
S:  Sync all mounted file-systems
U:  Remount file-systems as read-only
B:  Reboot

REISUB is BUSIER backwards, as in "The System is busier than it should be", if you need to remember it. Or mnemonically - R eboot; E ven; I f; S ystem; U tterly; B roken.

This is the SysReq key:

SysReq key

NOTE: There exists less radical way than rebooting the whole system. If SysReq key works, you can kill processes one-by-one using Alt+SysReq+F. Kernel will kill the mostly «expensive» process each time. If you want to kill all processes for one console, you can issue Alt+SysReq+K.

NOTE: You should explicitly enable these key combinations. Ubuntu ships with sysrq default setting 176 (128+32+16), which allows to run only SUB part of REISUB combination. You can change it to 1 or, which is potentially less harmful, 244. To do this:

sudo nano /etc/sysctl.d/10-magic-sysrq.conf

and switch 176 to 244; then

echo 244 | sudo tee /proc/sys/kernel/sysrq

It will immediately work! You can test this by pressing Alt+SysReq+F. For me, it killed active browser tab, then all extensions. And if you will continue, you can reach X Server restart.


More info on all the Alt+SysReq functions here.

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 12,183评论 0 10
  • The Inner Game of Tennis W Timothy Gallwey Jonathan Cape ...
    网事_79a3阅读 14,308评论 3 20
  • 五月温和的 风 撩起我的帘角 象夏柳拂过脸庞 巍峨屹立的北山 挡住时下擅自的寒流 两边的柏松 护挟着滚滚绿浪 居住...
    原郎阅读 3,269评论 2 21
  • 要沐浴多少次风雨,种子才能发芽;要经历多少次坠落,雄鹰才能飞翔;要忍受多少次冷漠,我们才能耀眼。 你说你缺乏安全感...
    李翊轩言阅读 3,730评论 0 1
  • 瞧 海盗船来啦!我们将在阿希湖游船上体验海盗船30分钟。 哈哈 上了贼船,船长主动找我们合影!我们一边自恋的互拍,...
    e42eb425c1eb阅读 1,589评论 0 1

友情链接更多精彩内容