加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 我的CentOS服务器上是否已经有一个硬件监视器?

发布时间:2020-12-13 17:10:51 所属栏目:Linux 来源:网络整理
导读:我在低成本托管服务中租用 a dedicated server(使用Intel Haswell CPU和自定义硬件),并将其与CentOS 6.4 / 64位Linux(带有内核:2.6.32-358.14.1.el6.x86_64)一起使用. 它每隔几周就会挂起,而其他客户似乎也有类似的问题. 在dmesg输出中我看到(这里是the ful
我在低成本托管服务中租用 a dedicated server(使用Intel Haswell CPU和自定义硬件),并将其与CentOS 6.4 / 64位Linux(带有内核:2.6.32-358.14.1.el6.x86_64)一起使用.

它每隔几周就会挂起,而其他客户似乎也有类似的问题.

在dmesg输出中我看到(这里是the full dmesg output):

CPU0: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz stepping 03
....
NMI watchdog enabled,takes one hw-pmu counter.
....
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.07rh
iTCO_wdt: Found a Lynx Point TCO device (Version=2,TCOBASE=0x1860)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)

在进程列表中我看到:

#  ps uawwwx|grep [w]atchdog
root         6  0.0  0.0      0     0 ?        S    Aug22   0:00 [watchdog/0]
root        10  0.0  0.0      0     0 ?        S    Aug22   0:00 [watchdog/1]
root        14  0.0  0.0      0     0 ?        S    Aug22   0:00 [watchdog/2]
root        18  0.0  0.0      0     0 ?        S    Aug22   0:00 [watchdog/3]
root        22  0.0  0.0      0     0 ?        S    Aug22   0:00 [watchdog/4]
root        26  0.0  0.0      0     0 ?        S    Aug22   0:00 [watchdog/5]
root        30  0.0  0.0      0     0 ?        S    Aug22   0:00 [watchdog/6]
root        34  0.0  0.0      0     0 ?        S    Aug22   0:00 [watchdog/7]

这是否意味着,硬件看门狗已在我的服务器上处于活动状态,并将在30秒内冻结我的机器?

(在/etc/sysctl.conf中我已经把kernel.panic = 10,所以它不再停留在kdb控制台中了).

或者我是否必须安装并启动CentOS软件包看门狗?

解决方法

Linux有一个通用的看门狗接口.您可以通过 enabling the NMI watchdog iTCO_wdt硬件支持或安装和配置不依赖于硬件的 a software watchdog来使用它.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读