cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
862
Views
0
Helpful
4
Replies

High Memory usage

john.wright
Level 3
Level 3

Anybody think this is too high for memory usage?

KBCFR2SW05#sh memory free

                Head              Total(b)       Used(b)         Free(b)        Lowest(b)  Largest(b)

Processor    2CD323C    79201732    67788360    11413372    10384280     9820936

          I/O    7800000     8380416     3594216     4786200     4602300     4784744

This is a 3560G-PS-48 switch IOS 12.2(50)SE1 with about 24 IP pnones connected as well as various types of servers.

the cpu runs about 10 to 20 %. But when I check the history of memory usage I see that it has been 80% usage for very long time.

4 Replies 4

Fabienne Stephanoff
Cisco Employee
Cisco Employee

Hello John,

I would check the output of show proc mem sorted for a while and look specifically at the holding column and see if a process keeps large and increasing amounts of memory over time. This will help you rule out any memory leak issue.

Fabienne

TAC

Fabienne

Thanks for the response.

I see that energywise is the biggest holder of memory

ID TTY  Allocated      Freed          Holding    Getbufs    Retbufs Process

291   0  123984588   53234576   49155972          0          0 energywise proto

   0   0   32929856   11538264     18481992          0          0 *Init*

   0   0  217628468  981528920       787260    7139584    3583592 *Dead*

303   0  166221452  165709636      531640          0          0 hulc running con

This is just 1 of three switches for which I configed energywise.

I forgot that I even configed it because it was so long ago.

perhaps I should just remove the energywise config?

Here is another switch that has energywise configed

PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process

   0   0   36393696   14969812   18524368          0          0 *Init*

292   0   25620920   10797140    9661728          0          0 energywise proto

Hello all,

 

I have the same problem with de RSP2 Cisco 7613 Router. Below are the message log and the output command:

 

000106: Apr 25 07:59:49: %SYS-2-MALLOCFAIL: Memory allocation of 568 bytes failed from 0x602997D0, pool Processor, alignment 0

000107: Apr 25 08:03:55: %SYS-2-MALLOCFAIL: Memory allocation of 20 bytes failed from 0x60692BE0, pool Processor, alignment 0

 

 

------------------ show process memory ------------------


Total: 21951520, Used: 19466368, Free: 2485152
PID TTY Allocated Freed Holding Getbufs Retbufs Process
0 0 81564 1808 9280456 0 0 *Init*
0 0 572 156640 572 0 0 *Sched*
0 0 15796816 5243020 9204 771556 0 *Dead*
1 0 276 276 3804 0 0 Load Meter
2 0 9616 57121980 16972 0 0 OSPF Hello
3 0 0 760 6804 0 0 Check heaps
4 0 18428 0 25232 0 0 Chunk Manager
5 0 1067692 138924 591888 688060 0 Pool Manager
6 0 276 276 6804 0 0 Timers
7 0 276 276 6804 0 0 Serial Backgroun
8 0 96 0 3900 0 0 OIR Handler
9 0 96 0 6900 0 0 IPC Zone Manager
10 0 0 0 6804 0 0 IPC Periodic Tim
11 0 54136 5912 55028 0 0 IPC Seat Manager
12 0 744 592 7168 0 0 ARP Input
13 0 0 0 6804 0 0 HC Counter Timer
14 0 276 276 6804 0 0 DDR Timers
15 0 276 276 12804 0 0 Dialer event
16 0 136 0 6940 0 0 Entity MIB API
17 0 96 0 6900 0 0 SERIAL A'detect
18 0 1112 0 7916 0 0 Microcode Loader
19 0 96 0 6900 0 0 Critical Bkgnd
20 0 126568 104876 13544 0 0 Net Background
21 0 452 316 12940 0 0 Logger
22 0 276 548 6804 0 0 TTY Background
23 0 6120 6120 9804 0 0 Per-Second Jobs
24 0 244 0 7048 0 0 IP Crashinfo Inp
25 0 136 0 6940 0 0 DSX3MIB ll handl
26 0 744 276 7272 0 0 VSI Master
27 0 0 0 6804 0 0 RSP Background
28 0 0 0 6804 0 0 Memory Scanner
29 0 0 0 3804 0 0 Slave Time
30 0 96 0 6900 0 0 Slave IPC OIR
31 2 63480 45392 31304 0 0 Virtual Exec
32 0 0 0 3804 0 0 Chassis Daemon
33 0 0 0 6804 0 0 RSP Chassis Back
34 0 96 0 6900 0 0 MIP Mailbox
35 0 96 0 6900 0 0 vcq_proc
36 0 96 0 6900 0 0 CT3 Mailbox
37 0 96 0 6900 0 0 CE3 Mailbox
38 0 96 0 6900 0 0 IPC CBus process
39 0 520 276 13048 0 0 ATM OAM Input
40 0 276 276 12804 0 0 ATM OAM TIMER
41 0 118652 6888 22072 0 0 IP Input
42 0 2225948 2205944 26808 0 0 CDP Protocol
43 0 552 276 7080 0 0 MOP Protocols
44 0 272 0 7076 0 0 X.25 Encaps Mana
45 0 0 0 12804 0 0 frr_tunnel
46 0 372 276 6900 0 0 SSCOP Input
47 0 372 276 6900 0 0 SSCOP Output
48 0 276 276 6804 0 0 SSCOP Timer
49 0 203556 812 208680 0 0 IP Background
50 0 372 276 12900 0 0 ILMI Input
51 0 0 0 6804 0 0 SNMP Timers
52 0 372 276 6900 0 0 ILMI Request
53 0 372 276 6900 0 0 ILMI Response
54 0 0 0 6804 0 0 ILMI Timer Proce
55 0 5956 692 18068 0 0 ATM PVC Discover
56 0 372 276 6900 0 0 ATMSIG DRIVERAPI
57 0 732 276 7260 0 0 Emulator
58 0 0 0 6804 0 0 PPP IP Add Route
59 0 0 197456 12804 0 0 TCP Timer
60 0 72544 0 14472 0 0 TCP Protocols
61 0 244 0 7048 0 0 Probe Input
62 0 96 0 6900 0 0 RARP Input
63 0 0 0 6804 0 0 HTTP Timer
64 0 0 0 6804 0 0 Socket Timers
65 0 29832 276 22752 0 0 DHCPD Receive
66 0 0 102152 6804 0 0 IP Cache Ager
67 0 244 0 7048 0 0 PAD InCall
68 0 372 276 12900 0 0 X.25 Background
69 0 0 0 6804 0 0 TCP Intercept Ti
70 0 276 276 6804 0 0 SPX Input
71 0 552 276 7080 0 0 Adj Manager
72 0 24896 17760 12208 0 0 CEF process
73 0 13968 0 6900 0 0 MDFS RP process
74 0 780 276 7308 0 0 TC-ATM Proc
75 0 468 276 6996 0 0 Tag Input
76 0 276 276 6804 0 0 LSP Tunnel Head
77 0 0 0 24804 0 0 ISDN Timer
78 0 15896 408 6804 0 0 TACACS+
79 0 4688 1120 10156 0 0 CNS Event Servic
80 0 1348 0 8152 0 0 SYSMGT Events
81 0 0 0 6804 0 0 ISDNMIB Backgrou
82 0 0 0 6804 0 0 CallMIB Backgrou
83 0 96 0 12900 0 0 SNMP ConfCopyPro
84 0 96 0 6900 0 0 Syslog Traps
85 0 0 0 6804 0 0 cbus utilization
86 0 192 0 6996 0 0 Net Input
87 0 276 276 6804 0 0 Compute load avg
88 0 339212 229424 63424 327240 1101468 Per-minute Jobs
89 0 58814676 58813632 13872 0 0 IP SNMP
90 0 136 0 12964 0 0 SNMP Traps
91 0 228 0 7032 0 0 CEF Scanner
92 0 276 276 6804 0 0 DSS Process
93 0 788 304 10288 0 0 IPX Input
94 0 0 0 6832 0 0 IPX RIP In
95 0 0 0 6804 0 0 IPX SAP In
96 0 468 276 9996 0 0 IPX Event Mgr
97 0 372 276 9900 0 0 IPX Task Mgr
98 0 276 276 9804 0 0 IPX RIP Out
99 0 276 276 9804 0 0 IPX SAP Out
100 0 860 668 6996 0 0 IPX Net Mgr
101 0 608 304 7108 0 0 IPX GNS
102 0 576 288 7092 0 0 IPX RIPREQ
103 0 444 312 6936 0 0 IPX Forwarder
104 0 372 276 6900 0 0 IPXWAN Input
105 0 0 0 6804 0 0 IPXWAN Timer
106 0 152 0 6956 0 0 IPX WATCHDOG
107 0 552 276 7080 0 0 CCP manager
108 0 552 276 13080 0 0 PPP manager
109 0 520 276 7048 0 0 Multilink PPP
110 0 520 276 7048 0 0 Multilink PPP ou
111 0 552 276 7080 0 0 Multilink event
112 0 372 276 6900 0 0 IP Flow Backgrou
115 0 0 0 6804 0 0 OSPF Scanner
116 0 1404 276 7932 0 0 NTP
117 0 25236 11776 7088 0 0 AAA Accounting
119 0 0 0 6804 0 0 DHCPD Timer
120 0 152 0 6956 0 0 DHCPD Database
121 0 1406333476 1339499032 8221424 1313760 872440 OSPF Router
19449528 Total

 

Anybody can help us, please!

In attached!

Review Cisco Networking products for a $25 gift card