Non-RCU local softirq work is pending, handler #08


 

檢查/var/log/messages可以看到:

Mar  7 22:38:41 exampleserver-1 kernel: NOHZ: local_softirq_pending 100
Mar 22 08:38:31 exampleserver-1 kernel: NOHZ: local_softirq_pending 100
Mar 25 09:22:12 exampleserver-1 kernel: NOHZ: local_softirq_pending 100

內核相關

NOHZ: local_softirq_pending 100提到了 NOHZ: local_softirq_pending 100 有可能是Red Hat Kernel 6.2.32 分支的bug。

在 http://www.kubuntuforums.net/showthread.php?49223-Kernel-error-messsage-NOHZ-local_softirq_pending-100 有一個解釋:

NOHZ補丁包含了一個檢查"處理器進入idle時候softirqs pending"的功能。這個BUG和NOHZ無關,只不過通過NOHZ補丁能夠觀察到這個現象:

  • t1線程在CPU#0上運行softirq disabled代碼,中斷發生,出現了softirq,但是被推遲(deferred)(因為softirqs disabled)
  • t1線程調用cond_resched_softirq(),通過_local_bh_enable()調用schedule()再次激活so

NOHZ是只是顯示了系統存在的問題,具體原因還是要進一步分析


在Red Hat官方文檔中有一個 VMware guest hangup and "NOHZ: local_softirq_pending 100" logged 提示了類似情況


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM