RG 路由器CPU-ktimer 进程高

一、故障现象

路由器CPU ktimer进程利用率高

二、组网拓扑

三、可能原因

1、系统任务调度频繁或异常、定时器长时间占用

四、排查步骤

步骤一:通过命令show cpu查看进程cpu利用率

Ruijie#show cpu
=======================================
CPU Using Rate Information
CPU utilization in five seconds: 0.20%
CPU utilization in one minute : 0.07%
CPU utilization in five minutes: 0.05%
NO 5Sec 1Min 5Min Process
0 0.00% 0.00% 0.00% LISR INT
1 0.00% 0.00% 0.00% HISR INT
2 0.00% 0.05% 0.05% ktimer
进程解释:
ktimer线程提供给各个模块注册定时器用的。该线程占有CPU比例高,证明有定时器长时间占用,可能部分调度存在异常。

步骤二:该进程CPU占用高,一般需要研发参与定位,请直接跳转到信息收集章节。

五、信息收集

show run
show memory
show version
show cpu
show log
show memory
show arp
show ef-rnfp all //间隔10S,收集3次
Show ip fpm statistics
sh ip fpm users
show ip rou summary
show ip ref route statistic
sho ip ref adjacency
show ip fpm st
show ip fpm count
show core | b Buff
debug support
show except
pcie show
show skb
show task
show efb

六、总结与建议

1、ktimer线程提供给各个模块注册定时器用的。该线程占有CPU比例高,证明有定时器长时间占用,可能部分调度存在异常,若出现该进程CPU高,进行收集信息反馈400处理。
阅读剩余
THE END