您尚未登录。

#1 2014-01-16 14:25:06

zjz311
会员
注册时间: 2013-12-25
帖子: 8

[SOLVED]archlinux 异常崩溃(crash),怎么查找崩溃原因?

大家好!我一月份重新安装的 archlinux, 在内存或者 cpu 负载高时,会突然莫名奇妙的关机(crash),昨天又升级了一下系统,今天又出现这个问题了。

请问大家,出现这种崩溃时,怎么查看崩溃的信息,以及怎么解决?谢谢!

$ last
zjz311   pts/0        :0               Thu Jan 16 14:17   still logged in
zjz311   pts/1        :0               Thu Jan 16 14:11   still logged in
zjz311   pts/1        :0               Thu Jan 16 14:04 - 14:04  (00:00)
zjz311   pts/0        :0               Thu Jan 16 14:04 - 14:11  (00:07)
zjz311   tty1                          Thu Jan 16 14:03   still logged in
reboot   system boot  3.12.6-1-ARCH    Thu Jan 16 06:03   still running
zjz311   pts/2        :0               Thu Jan 16 13:56 - crash  (-7:-53)
zjz311   pts/2        :0               Thu Jan 16 12:53 - 13:47  (00:54)
zjz311   pts/0        :0               Thu Jan 16 12:12 - crash  (-6:-9)
zjz311   pts/0        :0               Thu Jan 16 12:12 - 12:12  (00:00)
zjz311   pts/0        :0               Thu Jan 16 12:04 - 12:04  (00:00)
zjz311   pts/2        :0               Thu Jan 16 09:52 - 11:42  (01:49)
zjz311   pts/0        :0               Thu Jan 16 09:13 - 10:41  (01:28)
zjz311   pts/3        :0               Wed Jan 15 23:10 - 23:18  (00:08)
zjz311   pts/3        :0               Wed Jan 15 22:22 - 22:26  (00:04)
zjz311   pts/2        :0               Wed Jan 15 21:44 - 09:30  (11:45)
zjz311   pts/3        :0               Wed Jan 15 21:44 - 21:58  (00:14)
zjz311   pts/3        :0               Wed Jan 15 21:43 - 21:44  (00:01)
zjz311   pts/0        :0               Wed Jan 15 21:03 - 23:24  (02:20)
zjz311   pts/7        :0               Wed Jan 15 19:38 - 19:41  (00:03)
zjz311   pts/5        :0               Wed Jan 15 19:38 - 19:41  (00:03)
zjz311   pts/2        :0               Wed Jan 15 18:09 - 20:58  (02:48)
zjz311   pts/2        :0               Wed Jan 15 17:46 - 17:50  (00:03)
zjz311   pts/2        :0               Wed Jan 15 17:43 - 17:43  (00:00)
zjz311   pts/0        :0               Wed Jan 15 17:43 - 19:43  (01:59)
zjz311   tty1                          Wed Jan 15 17:43 - crash  (12:20)
reboot   system boot  3.12.6-1-ARCH    Wed Jan 15 09:42   still running
zjz311   pts/10       :0               Wed Jan 15 16:53 - crash  (-7:-10)
zjz311   pts/10       :0               Wed Jan 15 16:35 - 16:52  (00:16)
zjz311   pts/10       :0               Wed Jan 15 16:35 - 16:35  (00:00)
zjz311   pts/8        :0               Wed Jan 15 16:11 - crash  (-6:-28)
zjz311   pts/8        :0               Wed Jan 15 16:09 - 16:10  (00:00)
zjz311   pts/8        :0               Wed Jan 15 15:35 - 15:35  (00:00)
zjz311   pts/6        :0               Wed Jan 15 15:30 - crash  (-5:-47)
zjz311   pts/2        :0               Wed Jan 15 15:27 - crash  (-5:-45)
zjz311   pts/0        :0               Wed Jan 15 13:04 - crash  (-3:-21)
zjz311   pts/5        :0               Wed Jan 15 11:57 - 12:00  (00:02)
zjz311   pts/0        :0               Wed Jan 15 11:57 - 12:00  (00:02)
zjz311   pts/5        :0               Wed Jan 15 11:57 - 11:57  (00:00)
zjz311   pts/0        :0               Wed Jan 15 11:54 - 11:57  (00:02)

最近编辑记录 zjz311 (2014-01-18 15:49:48)

离线

#2 2014-01-16 14:54:56

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,953
个人网站

Re: [SOLVED]archlinux 异常崩溃(crash),怎么查找崩溃原因?

看系统日志,比如内核日志。现在默认只使用 systemd 的 journalctl 了,我不太会用而且很慢。你可以安装并启用 syslog-ng 及 logrotate 之后看 /var/log/kernel.log。
猜测可能是 CPU 温度过高。

离线

#3 2014-01-16 15:14:01

zjz311
会员
注册时间: 2013-12-25
帖子: 8

Re: [SOLVED]archlinux 异常崩溃(crash),怎么查找崩溃原因?

百合仙子 说:

看系统日志,比如内核日志。现在默认只使用 systemd 的 journalctl 了,我不太会用而且很慢。你可以安装并启用 syslog-ng 及 logrotate 之后看 /var/log/kernel.log。
猜测可能是 CPU 温度过高。

又是依云,真的太感谢,太感动了:D!

我试试你这个方法!

离线

页脚