cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
766
Views
0
Helpful
1
Replies

Nexus high CPU utilization issue

ali16122012
Level 1
Level 1

Dear All,

             We are facing problem with our cisco nexus, the problem simply with high cpu utilization that we have no idea what could  cause this issue

here is the output of command show process cpu history

Nexus# sh processes cpu history
                                                               
          11                    1                      2      1
    14141130212212371821 1 312226134 311211323196521223113434406
100                                                            
90                                                            
80                                                            
70                                                            
60                                                            
50                                                            
40                                                            
30                                                            
20                             #                      #       
10       ##       # #          #              ###     #      ##
    0....5....1....1....2....2....3....3....4....4....5....5....
              0    5    0    5    0    5    0    5    0    5   

               CPU% per second (last 60 seconds)
                      # = average CPU%


                                                               
    222212234222322222312222222222222221222221111111322121111122
    123393337044042725183602062533420029251109989797500783797492
100                                                            
90                                                            
80                                                            
70                                                            
60                                                            
50         *                                                  
40         *                                       *          
30        **   *  * **  *   * *         *          *   *     *
20 ***************************************************** *** **
10 *******#****#************************#**********************
    0....5....1....1....2....2....3....3....4....4....5....5....
              0    5    0    5    0    5    0    5    0    5   

               CPU% per minute (last 60 minutes)
              * = maximum CPU%   # = average CPU%


                                                                           
    454445465554544444454554454555454554554455464555453445445556455554554454
    368821712627159790585124772052053128259846702111947872290176890215257429
100                                                                        
90                                                                        
80                                                                        
70                                                            *           
60  *     * *         *     *  *  *     *   * *              ** *     *   
50  *** ************ ***** ** *** * *********** ***** *** ************** **
40 ************************************************************************
30 ************************************************************************
20 ************************************************************************
10 ************************************************************************
    0....5....1....1....2....2....3....3....4....4....5....5....6....6....7.
              0    5    0    5    0    5    0    5    0    5    0    5    0

                   CPU% per hour (last 72 hours)
                  * = maximum CPU%   # = average CPU%

1 Reply 1

nkarpysh
Cisco Employee
Cisco Employee

Hello Ali,

The baseline of CPU shown with # is quite low. CPU shown by * are the spikes. To catch those you can run script to be triggered once the spike is hapening. Though this CPU is not that High and we might not get much on the script - though worth trying:

event manager applet highcpu

event snmp oid 1.3.6.1.4.1.9.9.109.1.1.1.1.6.1 get-type exact entry-op ge entry-val 40 poll-interval 1

action 0.1 syslog msg action High CPU DETECTED show process cpu sort written to

bootflash:highcpu.txt

action 0.2 cli enable

action 0.4 cli show process cpu sort >> bootflash:highcpu.txt

action 1.0 cli exit

Once it triggered it will collect logs to file bootflash:highcpu.txt. You can than check that file and share here for analysis and further script modification.

Nik

HTH,
Niko
Review Cisco Networking for a $25 gift card