我有一个问题,我有Cisco 1841运行Cisco IOS 15,我得到奇怪的行为。 CPU使用率显示为40%,但没有使用这么多CPU功率的进程。
这里是一个例子:
lev1841#show processes cpu sorted CPU utilization for five seconds: 41%/39%; one minute: 42%; five minutes: 32% PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process 96 88 147299 0 1.11% 1.04% 0.92% 0 Ethernet Msec Ti 117 40 36582 1 0.15% 0.19% 0.17% 0 IPAM Manager 240 28 36535 0 0.15% 0.14% 0.12% 0 MMON MENG 2 92 236 389 0.07% 0.04% 0.03% 0 Load Meter 183 24 1775 13 0.07% 0.02% 0.00% 0 CEF: IPv4 proces 140 8 4661 1 0.07% 0.02% 0.00% 0 SSS Feature Time 121 2236 1958 1141 0.07% 0.19% 0.17% 0 IP Input 176 4 1172 3 0.07% 0.00% 0.00% 0 RUDPV1 Main Proc 212 4 2287 1 0.07% 0.00% 0.00% 0 CCE DP URLF cach 95 8 6733 1 0.07% 0.03% 0.02% 0 Ethernet Timer C lev1841#show processes cpu history lev1841 04:11:07 PM Saturday Jan 14 2012 UTC 444444444444444444444444444444444444444444444444444444444444 333111111111111111111111111122222111111111111111111111111133 100 90 80 70 60 50 40 ************************************************************ 30 ************************************************************ 20 ************************************************************ 10 ************************************************************ 0....5....1....1....2....2....3....3....4....4....5....5....6 0 5 0 5 0 5 0 5 0 5 0 CPU% per second (last 60 seconds) lev1841# show processes cpu extended ################################################################################ Global Statistics ----------------- 5 sec CPU util 41%/39% Timestamp 00:22:52 Queue Statistics ---------------- Exec Count Total CPU Response Time Queue Length (avg/max) (avg/max) Critical 1 0 0/0 1/1 High 683 0 0/0 1/2 Normal 462 8 0/4 1/7 Low 14 0 0/0 1/2 Common Process Information ------------------------------- PID Name Prio Style ------------------------------- 95 Ethernet Timer CH New 96 Ethernet Msec Ti H New CPU Intensive processes ------------------------------------------------------------------------------- PID Total Exec Quant Burst Burst size Schedcall Schedcall CPUms Count avg/max Count avg/max(ms) Count Per avg/max ------------------------------------------------------------------------------- Priority Suspends ------------------------------------ PID Exec Count Prio-Susps ------------------------------------ 95 38 19 96 644 19 Latencies ------------------------- PID Exec Count Latency avg/max ------------------------- ################################################################################
我无法find是什么原因导致所有这些CPU负载。
你可以帮我吗 ?
以下是关于路由器的一些信息:
Cisco 1841 (revision 6.0) with 358400K/34816K bytes of memory. System image file is "flash:c1841-adventerprisek9-mz.151-4.M1.bin"
系统刚从IOS 13更新到IOS 15.4M1。
谢谢。
“显示进程CPU”显示的数字有点误导,在你的输出如下:
lev1841#show processes cpu sorted CPU utilization for five seconds: 41%/39%; one minute: 42%; five minutes: 32%
41%/ 39%的五秒数应该被理解为“总CPU使用率”/“由stream量引起的CPU使用率”。
即你的进程正在使用2%,其余的是由正常的stream量通过路由器引起的。 如果你要closures交通承载接口,这个数字将下降到2%左右。
您可能需要检查您是否在路由器上启用了CEF?
有一件事要尝试:
router(config)#no logging console
no logging console将禁用串行控制台上的debugging消息的输出。 由于控制台是中断驱动的,每个字符都是中断。
你看过高思科故障排除指南高CPU? 它有一个广泛的指导当遇到高CPU负载时该怎么做。
包括:
确定原因并解决问题:
由于中断导致的高CPU利用率
在Cisco 7600系列路由器上启用Netflow NDE时的高CPU
由于进程导致的CPU利用率高
PCI和FAST内存池显示非常高的利用率
%SNMP-4-HIGHCPU:[chars]的结果超过[dec] ms阈值([dec] ms IOS量程) – 结果[chars]
由于软件encryption的高CPU