CentOS系統進程CPU 100%高佔用率解決辦法
伺服器top進程上進程看到kipmi0經常佔用很高的CPU甚至是100%
看看專業的說法:
kipmi is supposed to run with low priority. When you say it consumes70-90% of the CPUs, is that constant (does it still consume theprocessor when they are other tasks in the process queue that shouldhave a larger slice of the CPU time) or the 70%/90% comes when themachine is idle?
A second issue to investigate is whether you have pending controllerissues (alarms of varying nature that are not resolved) and/or olderversions 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
系統下次重啟會自動調整