Fixing high CPU use on Cisco 7600/6500
Recently some time ago (this blog post has also been lying in draft for a while)
someone came to me with a problem they had with a Cisco 7600.
It felt sluggish and "show proc cpu" showed that the weak CPU was very loaded.
This is how I fixed it.
"show proc cpu history" showed that the CPU use had been high for quite a while,
and too far back to check against any config changes. The CPU use of the router
was not being logged outside of what this command can show.
"show proc cpu sorted" showed that almost all the CPU time was spent in interrupt mode.
This is shown after the slash in the first row of the output. 15% in this example:
Router# show proc cpu sorted
CPU utilization for five seconds: 18%/15%; one minute: 31%; five minutes: 42%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
198 124625752 909637916 137 0.87% 0.94% 0.94% 0 IP Input
[...]
...