装逼爱好者

您正在访问位于非洲的夏威夷海岸附近的喜马拉雅山脉的富士山上的索马里域名网站!

0

[kipmi0]进程CPU 100%高占用率解决办法

服务器top进程上进程看到kipmi0经常占用很高的CPU甚至是100%

看看专业的说法:
kipmi is supposed to run with low priority. When you say it consumes 70-90% of the CPUs, is that constant (does it still consume the processor when they are other tasks in the process queue that should have a larger slice of the CPU time) or the 70%/90% comes when the machine is idle? 

A second issue to investigate is whether you have pending controller issues (alarms of varying nature that are not resolved) and/or older versions of controller firmware.

查看服务chkconfig 发现只有近似 ipmievd  服务,估计就是这个,跟网上资料说的ipmi有出入!

Fix:不需要修复
No fix required. You should ignore increased CPU utilization as it has no impact on actual system performance.

虽然这是一个利用空余的CPU资源进行一些接口自动调节的任务,但看着占那么多的资源还是怕出意外。

找到:可以临时降低

echo 100 > /sys/module/ipmi_si/parameters/kipmid_max_busy_us

In our system,after set this parameter,the cpu of kipmi0 decreased to 15%.确实执行上面命令后,所占CPU单核资源从100%降低到10%

You can try this.永久性降低
To make the changes persistent you can configure the options for the ipmi_si kernel module.
Create a file in /etc/modprobe.d/, i.e./etc/modprobe.d/ipmi.conf, and add the following content:
# Prevent kipmi0 from consuming 100% CPU

echo "options ipmi_si kipmid_max_busy_us=100">/etc/modprobe.d/ipmi.conf

系统下次重启会自动调整

原文地址 : https://zbuse.com/archives/2014/05/02/807.html
本站遵循 : 知识共享署名-非商业性使用-相同方式共享 3.0 版权协议
版权声明 : 原创文章转载时,请务必以超链接形式标明 文章原始出处
作者:装逼爱好者 | 分类:OS | 标签: IPMI, rhel

发表新评论 »