![16.04 LTS 严重崩溃](https://linux22.com/image/999095/16.04%20LTS%20%E4%B8%A5%E9%87%8D%E5%B4%A9%E6%BA%83.png)
昨天我第一次安装了 Ubuntu,现在正在使用它,很开心,直到它在 4 小时内崩溃了两次。崩溃=没有鼠标,没有键盘,没有生命。我两次都运行了命令:alt-prt scr 并写入 REISUB。它重新启动了。我想找出它崩溃的原因并修复它。我有英特尔集成显卡。我不认为这是硬件问题,因为 Windows 在这个硬件上运行良好。感谢所有帮助。
答案1
问题原来是 OP 的计算机内存不足,系统日志中的这些行可以证明这一点:
Mar 28 15:43:50 hugues-HP-ProBook-4530s kernel: [ 5020.228198] Out of memory: Kill process 25673 (node) score 426 or sacrifice child
Mar 28 15:43:50 hugues-HP-ProBook-4530s kernel: [ 5020.228234] Killed process 25673 (node) total-vm:1714884kB, anon-rss:501900kB, file-rss:0kB, shmem-rss:0kB
Mar 28 15:43:50 hugues-HP-ProBook-4530s kernel: [ 5020.264947] oom_reaper: reaped process 25673 (node), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Mar 28 15:43:57 hugues-HP-ProBook-4530s kernel: [ 5028.658675] sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(V) show-blocked-tasks(w) dump-ftrace-buffer(z)
Mar 28 15:43:58 hugues-HP-ProBook-4530s kernel: [ 5029.400548] sysrq: SysRq : This sysrq operation is disabled.
Mar 28 15:43:58 hugues-HP-ProBook-4530s kernel: [ 5029.752964] sysrq: SysRq : This sysrq operation is disabled.
Mar 28 15:43:59 hugues-HP-ProBook-4530s kernel: [ 5030.203206] sysrq: SysRq : This sysrq operation is disabled.
Mar 28 15:43:59 hugues-HP-ProBook-4530s kernel: [ 5030.733980] sysrq: SysRq : Emergency Sync
在聊天中,OP说他只有 4GB 的 RAM 并且禁用了交换,所以内存不足肯定是问题所在。
唯一的解决办法是购买更多 RAM。