CentOS系统进程CPU 100%高占用率解决办法
时间:2014-09-05 01:08 来源:linux.it.net.cn 作者:it
服务器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
系统下次重启会自动调整
(责任编辑:IT)
服务器top进程上进程看到kipmi0经常占用很高的CPU甚至是100%
看看专业的说法: 查看服务chkconfig 发现只有近似 ipmievd 服务,估计就是这个,跟网上资料说的ipmi有出入!
Fix:不需要修复 虽然这是一个利用空余的CPU资源进行一些接口自动调节的任务,但看着占那么多的资源还是怕出意外。 找到:可以临时降低
In our system,after set this parameter,the cpu of kipmi0 decreased to 15%.确实执行上面命令后,所占CPU单核资源从100%降低到10%
You can try this.永久性降低
系统下次重启会自动调整 (责任编辑:IT) |