Reset Search
 

 

Article

High CPU Usage due to ksoftirqd process

« Go Back

Information

 
TitleHigh CPU Usage due to ksoftirqd process
Symptoms
  • High CPU Usage due to high ksoftirqd process
    sw0# sh process cpu top
    Rbridge-id: 2
    top - 08:22:33 up 13 days, 17:45,  1 user,  load average: 5.78, 5.71, 5.38
    Tasks: 195 total,   6 running, 189 sleeping,   0 stopped,   0 zombie
    Cpu(s): 19.2%us, 30.8%sy,  0.0%ni,  0.5%id,  0.0%wa,  0.0%hi, 49.5%si,  0.0%st
    Mem:   3349552k total,  2724136k used,   625416k free,    72872k buffers
    Swap:        0k total,        0k used,        0k free,   763100k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
        4 root      20   0     0    0    0 R 42.6  0.0   4823:33 ksoftirqd/0        
     1640 root      20   0  1924  436  364 R 40.1  0.0   5634:09 klogd              
     5482 root      20   0  8292 3328 2724 R  7.7  0.1   8270:14 syslog-ng          
    30641 root      20   0  2776 1184  888 R  1.5  0.0   0:00.11 top
    ************************OUTPUT OMITTED*****************************
    
     
    sw0# show process cpu history 
    Rbridge-id: 2
    Realtime Statistics:
    Load Average: One minute: 5.63; Five minutes: 5.43; Fifteen minutes: 5.18
    Total CPU Utilization: 
    Current:   99.00% (user procs:17.00%, system-kernel:81.00%, iowait:0.00%)
    1 minute:  100.00% (user procs:29.50%, system-kernel:71.50%, iowait:0.00%)
    5 minute:  99.20% (user procs:27.50%, system-kernel:72.40%, iowait:0.00%)
    15 minute: 94.93% (user procs:23.93%, system-kernel:71.37%, iowait:0.07%)
    1 hour:    96.30% (user procs:25.88%, system-kernel:70.61%, iowait:0.08%)
    5 hour:    96.82% (user procs:27.11%, system-kernel:69.86%, iowait:0.08%)
    24 hour:   95.14% (user procs:26.30%, system-kernel:69.06%, iowait:0.06%)
    72 hour:   92.51% (user procs:25.55%, system-kernel:67.16%, iowait:0.05%)
    
    Active Processes Lifetime Statistic:
    PID    Process           Cur.%    1m    5m   15m   1hr   5hr  24hr  72hr
    5482   syslog-ng         41.79 41.79 41.79 41.79 41.72 41.59 40.38 36.47
    1640   klogd             28.47 28.47 28.47 28.47 28.42 28.34 27.53 24.89
    7      ksoftirqd/1       24.61 24.62 24.62 24.61 24.56 24.50 23.81 21.60
    4      ksoftirqd/0       24.37 24.36 24.36 24.36 24.33 24.25 23.54 21.17
    ****************************OUTPUT OMITTED*****************************
    
     
    sw0# unhide foscmd
    Password: ********
    sw0# fos bash
    bash-2.04# 
    bash-2.04# cat /proc/interrupts 
               CPU0       CPU1       
      0:    4135708          0   FSL-MSI          Edge         DCE Blade MSI intr
    117:          0          0   (null)           Level        BMan portal 0
    118:          0          0   (null)           Level        BMan portal 1
    119:    2613770          0   (null)           Level        QMan portal 0
    123:          0          0   (null)           Level        QMan portal 1
    140:   39495988          0   (null)           Level        i2c-mpc, i2c-mpc
    141:          0          0   (null)           Level        i2c-mpc, i2c-mpc
    145:          0          0   (null)           Edge         qman-err
    147:          0          0   (null)           Edge         bman-err
    149:          0          0   (null)           Level        fman
    150:          0          0   (null)           Edge         fman-err
    153:          0          0   (null)           Level        fsl-lbc
    155:          0          0   (null)           Level        system
    160:        185          0   (null)           Level        xphy
    166:          0          0   (null)           Edge         pcie-err
    170:          1          0   (null)           Edge         state-change
    171:          0          0   (null)           Edge         watchdog-expiration
    172:          0          0   (null)           Edge         reset-request
    175:          1          0   (null)           Edge         eth1
    176:          0          0   (null)           Edge         shutdown
    177:          0          0   (null)           Edge         ehv-bc
    178:          0          0   (null)           Edge         ehv-bc
    180:    2310660          0   (null)           Edge         vsd
    LOC:  262263381  247941529   Local timer interrupts
    SPU:          0          0   Spurious interrupts
    CNT:          0          0   Performance monitoring interrupts
    MCE:          0          0   Machine check exceptions
  • No high traffic on switch
Environment
  • VDX series
  • Network OS
Cause
The high CPU usage by the ksoftirqd process is caused by a rapidly incrementing "i2c-mpc" process.  i2c is the communication between cpu and some device which in some cases could possibly be the Cobra ASIC.
Resolution
Reload the VDX.
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255