Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Cisco switch and high CPU and memory.

Hi all,

I have a question related to the commands

sh processes memory and sh processes cpu.

We have WS-C2924-XL-EN and when I write those commands I see that memory is used over 85 % and cpu is about 50 %.

Over there si a lot of info. How I resolve what is really eating those resources?

BR

JL

5 REPLIES
Community Member

Re: Cisco switch and high CPU and memory.

Hi John,

You have to look at the process which is eating up the maximum memory & CPU. For eg:

sh proc memory

Total: 171242656, Used: 31009484, Free: 140233172

PID TTY Allocated Freed Holding Getbufs Retbufs Process

161 0 188 0 7048 0 0 DHCPD Database

162 0 0 0 17904 0 0 IP-EIGRP Router

163 0 314623268 309146300 5524812 0 0 IP-EIGRP: PDM

164 0 0 0 17904 0 0 IP-EIGRP Router

165 0 104796788 104020336 774552 0 0 IP-EIGRP: PDM

166 0 8128008 8128008 6852 0 0 IP-EIGRP: HELLO

167 0 8125036 8125036 6852 0 0 IP-EIGRP: HELLO

Just have a look at the values under HOLDING field. In this case we can see that EIGRP process is holding the maximum memory. Similarly you can see for process in the CPU command.

Manmeet

*Pls rate if helpful

Community Member

Re: Cisco switch and high CPU and memory.

Hi,

thanks for answer. Iv found other switch which has higher memory load. *Init* process eats up the most resources. What do you think about it?

BR

jl

Community Member

Re: Cisco switch and high CPU and memory.

Hi John,

Try using - "sh processes cpu | exclude 0.00%". Then You will see which process loads Your switch. From expirience I know that on Cat2900, there is process "Calhoun LED Proc" which is taking about 16% of CPU and that is normal for this switch series.

Regards:

Michal

Purple

Re: Cisco switch and high CPU and memory.

Doesn't sound that bad , a little busy . 2924's will run 30% without anyone doing anything which is normal . If you are worried about it follow this http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a0080094e78.shtml

Community Member

Re: Cisco switch and high CPU and memory.

Hi all,

Thanks for help..Iv read document.

When I put down CLI command I see next.

sh processes cpu | exclude 0.00%

CPU utilization for five seconds: 28%/8%; one minute: 28%; five minutes: 28%

PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process

14 1162139 857737 1354 0.30% 0.30% 0.31% 0 Per-Second Jobs

18 5719044 18997303 301 1.22% 1.15% 1.61% 0 LED Control Proc

20 62365866 34759412 1794 12.59% 11.17% 11.08% 0 Port Status Proc

23 1637051 5888677 277 0.30% 0.33% 0.30% 0 GDS Frame Ager

30 4909894 5562186 882 0.61% 0.63% 0.62% 0 Broadcast Storm

35 3524459 1362600 2586 0.02% 0.83% 0.78% 0 Enet Aging

What do you think about it?

BR

jl

350
Views
0
Helpful
5
Replies
CreatePlease to create content