8-187
Cisco IOS XR Troubleshooting Guide for the Cisco CRS-1 Router
OL-21483-02
Chapter 8 Process Monitoring and Troubleshooting
Troubleshooting High CPU Utilization and Process Timeouts
RP/0/RP0/CPU0:CIPC2-VAN#show process block loc 0/0/cpu0
Jid Pid Tid Name State Blocked-on
54 8202 1 ksh Reply 8199 devc-ser8250
51 20502 2 attachd Reply 20500 eth_server
51 20502 3 attachd Reply 8204 mqueue
72 20503 6 qnet Reply 20500 eth_server
72 20503 7 qnet Reply 20500 eth_server
72 20503 8 qnet Reply 20500 eth_server
72 20503 9 qnet Reply 20500 eth_server
52 20507 1 ksh-aux Reply 8199 devc-ser8250
50 20508 2 attach_server Reply 8204 mqueue
216 24610 1 reddrv_listener Reply 20500 eth_server
246 90234 1 spa_xge_v2 Reply 24615 syslog_dev <--still blocking!!!
246 90234 5 spa_xge_v2 Mutex 90234-01 #1
RP/0/RP0/CPU0:CIPC2-VAN#
RP/0/RP0/CPU0:CIPC2-VAN#show process syslog_dev loc 0/0/cpu0
Tue Sep 11 17:22:51.182 UTC
Job Id: 262
PID: 24615
Executable path: /bootflash/hfr-base-3.4.1/bin/syslog_dev
Instance #: 1
Version ID: 00.00.0000
Respawn: ON
Respawn count: 1
Max. spawns per minute: 12
Last started: Fri Jun 22 14:15:01 2007
Process state: Run
Package state: Normal
core: TEXT SHAREDMEM MAINMEM
Max. core: 0
Level: 40.90
MaintModeProc: ON
startup_path: /pkg/startup/syslog_dev.startup
Ready: 0.999s
Process cpu time: 1283052.366 user, 0.291 kernel, 1283052.657 total
JID TID Stack pri state HR:MM:SS:MSEC NAME
262 1 12K 10 Ready 1549:26:59:0925 syslog_dev <---take look at cpu time
spending for this process!!!
The following example shows the processes with the most CPU usage.
RP/0/RP0/CPU0:router# top processes
Computing times...
247 processes; 930 threads; 4804 channels, 6683 fds
CPU states: 98.5% idle, 0.6% user, 0.8% kernel
Memory: 4096M total, 3095M avail, page size 4K
JID TIDS Chans FDs Tmrs MEM HH:MM:SS CPU NAME
1 33 250 197 1 0 437:50:44 0.82% procnto-600-smp-cisco-i
333 9 32 21 16 1M 0:11:28 0.26% sysdb_svr_admin
180 21 132 40 11 6M 0:36:37 0.16% gsp
332 7 161 19 11 1M 0:10:33 0.12% sysdb_mc
376 7 31 62 13 6M 0:06:49 0.04% mpls_ldp
159 1 5 14 2 756K 0:00:48 0.04% envmon_mon
344 5 6 47 2 1M 0:01:39 0.02% top_procs
341 35 26 62 6 728K 0:01:02 0.02% tcp
276 3 9 15 2 548K 0:00:06 0.00% oir_daemon
62 1 6 9 1 204K 0:00:07 0.00% i2c_server