CentOS系統進程CPU 100%高佔用率解決辦法

來源:互聯網
上載者:User

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

系統下次重啟會自動調整

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.