Oracle Linux 5.9到Oracle Linux 6.4 之间的bug--Wrong Kernel Statistic in Version 2.6.39-400.X.X
参考自:
Wrong Kernel Statistic in Version 2.6.39-400.X.X (Doc ID 1552713.1)
适用于:
Linux OS - Version Oracle Linux 5.9 with Unbreakable Enterprise Kernel [2.6.39] to Oracle Linux 6.4 with Unbreakable Enterprise Kernel [2.6.39] [Release OL5U9 to OL6U4]
Linux x86-64
Linux x86
症状:
When running continuously, both mpstat and sar will occasionally report 0% for all of the various cpu times, including idle. A single mpstat will
report odd usage even on a mostly idle machine, for example:
Linux 2.6.39-400.17.2.el6uek.x86_64 (test.oracle.com)
11:14:25 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
11:14:25 all 3.44 0.10 4.38 3.97 0.00 0.06 50.82 0.00 37.23
改变:
The system was upgraded to a UEK kernel with a version later than 2.6.39-400
原因:
unpublished BUG 16567925 - INCORRECT CPU UTILIZATION STATS WITH 2.6.39-400.17.1
解决方案:
Upgrade to kernel 2.6.39-400.22.1 or later.
参考自:
Wrong Kernel Statistic in Version 2.6.39-400.X.X (Doc ID 1552713.1)
适用于:
Linux OS - Version Oracle Linux 5.9 with Unbreakable Enterprise Kernel [2.6.39] to Oracle Linux 6.4 with Unbreakable Enterprise Kernel [2.6.39] [Release OL5U9 to OL6U4]
Linux x86-64
Linux x86
症状:
When running continuously, both mpstat and sar will occasionally report 0% for all of the various cpu times, including idle. A single mpstat will
report odd usage even on a mostly idle machine, for example:
Linux 2.6.39-400.17.2.el6uek.x86_64 (test.oracle.com)
11:14:25 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
11:14:25 all 3.44 0.10 4.38 3.97 0.00 0.06 50.82 0.00 37.23
改变:
The system was upgraded to a UEK kernel with a version later than 2.6.39-400
原因:
unpublished BUG 16567925 - INCORRECT CPU UTILIZATION STATS WITH 2.6.39-400.17.1
解决方案:
Upgrade to kernel 2.6.39-400.22.1 or later.
本文详细介绍了从 Oracle Linux 5.9 升级到 6.4 版本时遇到的 bug 问题,即在升级至 UEK 内核版本后,mpstat 和 sar 工具偶尔报告所有 CPU 使用率均为 0%,包括空闲时间。文章解释了此现象的原因,并提供了升级内核版本至 2.6.39-400.22.1 或更高版本的解决方案。

被折叠的 条评论
为什么被折叠?



