Sep 14 02:24:42 www kernel: CPU1: Temperature above threshold, cpu clock throttled (total events = 10160)
Sep 14 02:24:43 www kernel: CPU0: Temperature above threshold, cpu clock throttled (total events = 4441)
Sep 14 02:25:08 www : error getting update info: [Errno 2] No such file or directory: '/var/cache/yum/base/primary.sqlite.bz2'
Sep 14 02:43:47 www kernel: CPU1: Temperature above threshold, cpu clock throttled (total events = 10873)
Sep 14 02:43:50 www kernel: CPU0: Temperature above threshold, cpu clock throttled (total events = 4526)
Sep 14 03:24:42 www kernel: CPU0: Temperature above threshold, cpu clock throttled (total events = 4554)
Sep 14 03:24:44 www kernel: CPU1: Temperature above threshold, cpu clock throttled (total events = 10902)
Sep 14 03:25:08 www : error getting update info: [Errno 2] No such file or directory: '/var/cache/yum/base/primary.sqlite.bz2'
Sep 14 04:02:01 www kernel: CPU0: Temperature above threshold, cpu clock throttled (total events = 4803)
Sep 14 04:02:02 www kernel: CPU1: Temperature above threshold, cpu clock throttled (total events = 11535)
Sep 14 04:24:42 www kernel: CPU0: Temperature above threshold, cpu clock throttled (total events = 5518)
Sep 14 04:24:43 www kernel: CPU1: Temperature above threshold, cpu clock throttled (total events = 13228)
Sep 14 04:24:51 www : error getting update info: [Errno 2] No such file or directory: '/var/cache/yum/base/primary.sqlite.bz2'
Sep 14 05:24:42 www kernel: CPU1: Temperature above threshold, cpu clock throttled (total events = 13914)
Sep 14 05:24:50 www : error getting update info: [Errno 2] No such file or directory: '/var/cache/yum/base/primary.sqlite.bz2'
Sep 14 06:24:42 www kernel: CPU0: Temperature above threshold, cpu clock throttled (total events = 5768)
Sep 14 06:24:43 www kernel: CPU1: Temperature above threshold, cpu clock throttled (total events = 14947)
Sep 14 06:25:07 www : error getting update info: [Errno 2] No such file or directory: '/var/cache/yum/base/primary.sqlite.bz2'
Sep 14 07:24:42 www kernel: CPU0: Temperature above threshold, cpu clock throttled (total events = 6068)
Sep 14 07:24:43 www kernel: CPU1: Temperature above threshold, cpu clock throttled (total events = 15573)
Sep 14 07:24:50 www : error getting update info: [Errno 2] No such file or directory: '/var/cache/yum/base/primary.sqlite.bz2'
Sep 14 08:17:59 www kernel: CPU0: Temperature above threshold, cpu clock throttled (total events = 6350)
Sep 14 08:19:59 www kernel: CPU1: Temperature above threshold, cpu clock throttled (total events = 16264)
在网上找了很多文档,后来发现几个可能相关的文档,这里汇总一下:
首先是 http://www.linuxquestions.org/questions/linux-software-2/temperature-abo... ,但是按照其中方法执行rmmod asus_acpi命令之后,仍然没有阻止该消息再次出现。
然后是 http://www.centospub.com/bbs/viewthread.php?tid=3837 ,如下:
messages日志提示
CPU0: Temperature above threshold
CPU0: Running in modulated clock mode
根据资料,这应该是2.6内核的相应阀值过低造成的.特别在编译程序的时候出现的频率很高.
关闭的解决办法如下:
vi /etc/syslog.conf
注释掉 *.emerg 这一行
/etc/init.d/syslog restart
一切OK
这种方法属于典型的治标不治本,并且可能会影响到其他的严重警告信息显示。
后来又找到一种方法,http://www.linuxsir.org/bbs/thread305266.html ,可能会更好一些,也算是没有办法的办法:
关掉内核中mce即可,或者在引导内核的命令中加入nomce
在此服务器的实际操作命令是修改/boot/grub/menu.lst文件,如下:
kernel /vmlinuz-2.6.18-164.9.1.el5.centos.plus ro root=LABEL=/ nomce
initrd /initrd-2.6.18-164.9.1.el5.centos.plus.img
即在第一行末尾加上nomce指令。但是之前我可以确定CPU没有过热问题。
重新启动之后,世界清静了。
参考:http://tilt.lib.tsinghua.edu.cn/node/536