2503 & shrinking processor memory

Hello,

since the upgrade to 12.3(16a) on a Cisco 2503I router, I noticed that the free processor memory is shrinking. In the beginning there were

9773344 bytes free. After one hour and 20 minutes the free space shrank to 8602384 bytes and this continued until the router reported: %AAA-3-ACCT_LOW_MEM_UID_FAIL: AAA unable to create UID for incoming calls due to insufficient processor memory At this time it was even impossible to access the router via the console port :-( . The router has 16 MB RAM and 16 MB flash. What could cause this memory problem?

Regards, Christoph Gartmann

Reply to
Christoph Gartmann
Loading thread data ...

IOS bugs that cause memory leaks - memory is not released after a process is done with it

Reply to
Merv

Hi Christoph,

You may wish to investigate Cisco's Troubleshooting Memory Problems:

formatting link
Sincerely,

Brad Reese BradReese.Com Cisco Repair Service Experts

formatting link
Hendersonville Road, Suite 17 Asheville, North Carolina USA 28803 USA & Canada: 877-549-2680 International: 828-277-7272

Reply to
www.BradReese.Com

Christoph,

Cisco TAC contact information in Germany:

formatting link
Brad Reese Refurbished Cisco List Pricing & Current Inventory Availability
formatting link

Reply to
www.BradReese.Com

No I am bit further: the problem remains under V 12.3(17). It turned out to be the "IP Input" process. What does this process do? Why does it require more an more memory?

Regards, Christoph Gartmann

Reply to
Christoph Gartmann

The process "IP Input" takes care of process-switching IP packets.

post the output of

show process cpu

show ip cef

show int stats

show interface switching

Reply to
Merv

In article , "Merv" writes:

router1#sho proc cpu CPU utilization for five seconds: 9%/4%; one minute: 13%; five minutes: 11% PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process 1 0 1 0 0.00% 0.00% 0.00% 0 Chunk Manager 2 1872 5166 362 0.00% 0.00% 0.00% 0 Load Meter 3 499736 24415 20468 2.79% 2.79% 2.80% 0 CEF process 4 256968 13614 18875 0.00% 1.36% 1.19% 0 Check heaps 5 136 17 8000 0.00% 0.00% 0.00% 0 Pool Manager 6 0 2 0 0.00% 0.00% 0.00% 0 Timers 7 0 2 0 0.00% 0.00% 0.00% 0 Serial Backgroun 8 0 2 0 0.00% 0.00% 0.00% 0 AAA high-capacit 9 63780 11505 5543 0.00% 0.14% 0.16% 0 ARP Input 10 4 3 1333 0.00% 0.00% 0.00% 0 DDR Timers 11 24 2 12000 0.00% 0.00% 0.00% 0 Entity MIB API 12 0 1 0 0.00% 0.00% 0.00% 0 SERIAL A'detect 13 952 25822 36 0.00% 0.00% 0.00% 0 GraphIt 14 4 2 2000 0.00% 0.00% 0.00% 0 Dialer event 15 0 1 0 0.00% 0.00% 0.00% 0 Critical Bkgnd 16 1920 7518 255 0.07% 0.00% 0.00% 0 Net Background 17 16 23 695 0.00% 0.00% 0.00% 0 Logger 18 1768 25758 68 0.00% 0.00% 0.00% 0 TTY Background 19 3008 25974 115 0.00% 0.00% 0.00% 0 Per-Second Jobs 20 0 2 0 0.00% 0.00% 0.00% 0 ISDN Timer 21 20 37 540 0.00% 0.00% 0.00% 0 ISDN From Driver 22 0 1 0 0.00% 0.00% 0.00% 0 dev_device_inser 23 0 1 0 0.00% 0.00% 0.00% 0 dev_device_remov 24 61700 117432 525 0.00% 0.12% 0.15% 0 Net Input 25 3668 5168 709 0.00% 0.00% 0.00% 0 Compute load avg 26 35700 610 58524 0.00% 0.10% 0.10% 0 Per-minute Jobs 27 8 4 2000 0.00% 0.00% 0.00% 0 AAA Server 28 0 1 0 0.00% 0.00% 0.00% 0 AAA ACCT Proc 29 0 1 0 0.00% 0.00% 0.00% 0 ACCT Periodic Pr 30 0 1 0 0.00% 0.00% 0.00% 0 AAA_SERVER_DEADT 31 4 2 2000 0.00% 0.00% 0.00% 0 AAA Dictionary R 32 207940 67595 3076 0.63% 0.77% 0.72% 0 IP Input 33 0 1 0 0.00% 0.00% 0.00% 0 ICMP event handl 34 2368 3006 787 0.00% 0.00% 0.00% 0 CDP Protocol 35 4 3 1333 0.00% 0.00% 0.00% 0 PPP Hooks 36 0 1 0 0.00% 0.00% 0.00% 0 X.25 Encaps Mana 37 764 2026 377 0.07% 0.01% 0.00% 0 TCP Timer 38 4 2 2000 0.00% 0.00% 0.00% 0 TCP Protocols 39 0 1 0 0.00% 0.00% 0.00% 0 Socket Timers 40 12 89 134 0.00% 0.00% 0.00% 0 HTTP CORE 41 0 2 0 0.00% 0.00% 0.00% 0 PPP IP Route 42 0 2 0 0.00% 0.00% 0.00% 0 PPP IPCP 43 16880 886 19051 0.00% 0.06% 0.05% 0 IP Background 44 400 434 921 0.00% 0.00% 0.00% 0 IP RIB Update 45 9876 489 20196 0.00% 0.04% 0.00% 0 Adj Manager 46 476 864 550 0.00% 0.00% 0.00% 0 RARP Input 47 748 238 3142 0.00% 0.00% 0.00% 0 DHCPD Receive 48 26216 432 60685 0.00% 0.00% 0.00% 0 IP Cache Ager 49 0 2 0 0.00% 0.00% 0.00% 0 PPP Bind 50 0 1 0 0.00% 0.00% 0.00% 0 COPS 51 0 1 0 0.00% 0.00% 0.00% 0 PAD InCall 52 4 2 2000 0.00% 0.00% 0.00% 0 X.25 Background 53 4 2 2000 0.00% 0.00% 0.00% 0 LOCAL AAA 54 0 2 0 0.00% 0.00% 0.00% 0 ENABLE AAA 55 4 4 1000 0.00% 0.00% 0.00% 0 LINE AAA 56 4 2 2000 0.00% 0.00% 0.00% 0 TPLUS 57 0 1 0 0.00% 0.00% 0.00% 0 Key chain liveke 58 157244 4876 32248 4.63% 3.71% 1.73% 2 Virtual Exec 59 0 2 0 0.00% 0.00% 0.00% 0 AAA SEND STOP EV 60 4 1 4000 0.00% 0.00% 0.00% 0 Syslog Traps 61 0 1 0 0.00% 0.00% 0.00% 0 CallMIB Backgrou 62 0 1 0 0.00% 0.00% 0.00% 0 ISDNMIB Backgrou 63 232 8 29000 0.00% 0.00% 0.00% 0 ISDN 64 55976 799450 70 0.00% 0.18% 0.16% 0 PPP manager 65 81356 799450 101 0.07% 0.14% 0.14% 0 PPP Events 66 1172 25791 45 0.00% 0.00% 0.00% 0 Multilink PPP 67 0 2 0 0.00% 0.00% 0.00% 0 RADIUS 68 0 1 0 0.00% 0.00% 0.00% 0 Crash writer 69 7236 28173 256 0.00% 0.01% 0.00% 0 NTP 70 124 61 2032 0.00% 0.00% 0.00% 0 ISDN L2 Process 71 0 3 0 0.00% 0.00% 0.00% 0 ISDN L3 Timer Pr 72 12 34 352 0.00% 0.00% 0.00% 0 ISDN L2D SRQ Pro 73 32 216 148 0.00% 0.00% 0.00% 0 DHCPD Timer 74 1276 7313 174 0.00% 0.00% 0.00% 0 DHCPD Database 75 332 507 654 0.00% 0.00% 0.00% 0 CEF Scanner

router1#sho ip cef Prefix Next Hop Interface

0.0.0.0/32 receive 10.1.0.0/16 attached Ethernet0 10.1.0.0/32 receive 10.1.1.1/32 10.1.1.1 Ethernet0 10.1.1.108/32 10.1.1.108 Ethernet0 10.1.1.254/32 receive 10.1.2.1/32 10.1.2.1 Ethernet0 10.1.2.18/32 10.1.2.18 Ethernet0 10.1.2.22/32 10.1.2.22 Ethernet0 10.1.2.40/32 10.1.2.40 Ethernet0 10.1.2.74/32 10.1.2.74 Ethernet0 10.1.2.103/32 10.1.2.103 Ethernet0 10.1.2.114/32 10.1.2.114 Ethernet0 10.1.2.138/32 10.1.2.138 Ethernet0 10.1.2.141/32 10.1.2.141 Ethernet0 10.1.2.144/32 10.1.2.144 Ethernet0 10.1.2.147/32 10.1.2.147 Ethernet0 10.1.2.153/32 10.1.2.153 Ethernet0 10.1.2.158/32 10.1.2.158 Ethernet0 10.1.2.166/32 10.1.2.166 Ethernet0 10.1.2.174/32 10.1.2.174 Ethernet0 10.1.2.179/32 10.1.2.179 Ethernet0 10.1.2.180/32 10.1.2.180 Ethernet0 10.1.2.183/32 10.1.2.183 Ethernet0 10.1.2.193/32 10.1.2.193 Ethernet0 10.1.2.197/32 10.1.2.197 Ethernet0 10.1.2.199/32 10.1.2.199 Ethernet0 10.1.3.5/32 10.1.3.5 Ethernet0 10.1.3.8/32 10.1.3.8 Ethernet0 10.1.3.9/32 10.1.3.9 Ethernet0 10.1.3.10/32 10.1.3.10 Ethernet0 10.1.3.14/32 10.1.3.14 Ethernet0 10.1.3.16/32 10.1.3.16 Ethernet0 10.1.3.17/32 10.1.3.17 Ethernet0 10.1.3.23/32 10.1.3.23 Ethernet0 10.1.3.29/32 10.1.3.29 Ethernet0 10.1.3.30/32 10.1.3.30 Ethernet0 10.1.3.36/32 10.1.3.36 Ethernet0 10.1.3.37/32 10.1.3.37 Ethernet0 10.1.3.39/32 10.1.3.39 Ethernet0 10.1.3.40/32 10.1.3.40 Ethernet0 10.1.3.42/32 10.1.3.42 Ethernet0 10.1.3.43/32 10.1.3.43 Ethernet0 10.1.3.46/32 10.1.3.46 Ethernet0 10.1.3.47/32 10.1.3.47 Ethernet0 10.1.3.52/32 10.1.3.52 Ethernet0 10.1.3.53/32 10.1.3.53 Ethernet0 10.1.3.54/32 10.1.3.54 Ethernet0 10.1.3.55/32 10.1.3.55 Ethernet0 10.1.3.60/32 10.1.3.60 Ethernet0 10.1.3.61/32 10.1.3.61 Ethernet0 10.1.3.65/32 10.1.3.65 Ethernet0 10.1.3.68/32 10.1.3.68 Ethernet0 10.1.3.70/32 10.1.3.70 Ethernet0 10.1.3.71/32 10.1.3.71 Ethernet0 10.1.3.72/32 10.1.3.72 Ethernet0 10.1.3.76/32 10.1.3.76 Ethernet0 10.1.3.80/32 10.1.3.80 Ethernet0 10.1.3.81/32 10.1.3.81 Ethernet0 10.1.3.82/32 10.1.3.82 Ethernet0 10.1.3.83/32 10.1.3.83 Ethernet0 10.1.3.84/32 10.1.3.84 Ethernet0 10.1.3.85/32 10.1.3.85 Ethernet0 10.1.3.90/32 10.1.3.90 Ethernet0 10.1.3.93/32 10.1.3.93 Ethernet0 10.1.3.94/32 10.1.3.94 Ethernet0 10.1.3.95/32 10.1.3.95 Ethernet0 10.1.3.96/32 10.1.3.96 Ethernet0 10.1.3.97/32 10.1.3.97 Ethernet0 10.1.3.108/32 10.1.3.108 Ethernet0 10.1.3.109/32 10.1.3.109 Ethernet0 10.1.3.110/32 10.1.3.110 Ethernet0 10.1.3.111/32 10.1.3.111 Ethernet0 10.1.3.112/32 10.1.3.112 Ethernet0 10.1.3.114/32 10.1.3.114 Ethernet0 10.1.3.118/32 10.1.3.118 Ethernet0 10.1.3.124/32 10.1.3.124 Ethernet0 10.1.3.125/32 10.1.3.125 Ethernet0 10.1.3.129/32 10.1.3.129 Ethernet0 10.1.3.132/32 10.1.3.132 Ethernet0 10.1.3.133/32 10.1.3.133 Ethernet0 10.1.3.137/32 10.1.3.137 Ethernet0 10.1.3.138/32 10.1.3.138 Ethernet0 10.1.3.141/32 10.1.3.141 Ethernet0 10.1.3.142/32 10.1.3.142 Ethernet0 10.1.3.143/32 10.1.3.143 Ethernet0 10.1.3.146/32 10.1.3.146 Ethernet0 10.1.3.150/32 10.1.3.150 Ethernet0 10.1.3.151/32 10.1.3.151 Ethernet0 10.1.3.152/32 10.1.3.152 Ethernet0 10.1.3.154/32 10.1.3.154 Ethernet0 10.1.3.155/32 10.1.3.155 Ethernet0 10.1.3.157/32 10.1.3.157 Ethernet0 10.1.3.158/32 10.1.3.158 Ethernet0 10.1.3.163/32 10.1.3.163 Ethernet0 10.1.3.165/32 10.1.3.165 Ethernet0 10.1.3.166/32 10.1.3.166 Ethernet0 10.1.3.167/32 10.1.3.167 Ethernet0 10.1.3.168/32 10.1.3.168 Ethernet0 10.1.3.169/32 10.1.3.169 Ethernet0 10.1.3.177/32 10.1.3.177 Ethernet0 10.1.3.179/32 10.1.3.179 Ethernet0 10.1.3.180/32 10.1.3.180 Ethernet0 10.1.3.181/32 10.1.3.181 Ethernet0 10.1.3.184/32 10.1.3.184 Ethernet0 10.1.3.189/32 10.1.3.189 Ethernet0 10.1.3.190/32 10.1.3.190 Ethernet0 10.1.3.191/32 10.1.3.191 Ethernet0 10.1.3.192/32 10.1.3.192 Ethernet0 10.1.3.193/32 10.1.3.193 Ethernet0 10.1.3.194/32 10.1.3.194 Ethernet0 10.1.3.196/32 10.1.3.196 Ethernet0 10.1.3.197/32 10.1.3.197 Ethernet0 10.1.3.203/32 10.1.3.203 Ethernet0 10.1.3.205/32 10.1.3.205 Ethernet0 10.1.3.206/32 10.1.3.206 Ethernet0 10.1.3.207/32 10.1.3.207 Ethernet0 10.1.3.213/32 10.1.3.213 Ethernet0 10.1.3.214/32 10.1.3.214 Ethernet0 10.1.3.217/32 10.1.3.217 Ethernet0 10.1.3.219/32 10.1.3.219 Ethernet0 10.1.3.220/32 10.1.3.220 Ethernet0 10.1.3.224/32 10.1.3.224 Ethernet0 10.1.3.225/32 10.1.3.225 Ethernet0 10.1.3.237/32 10.1.3.237 Ethernet0 10.1.3.238/32 10.1.3.238 Ethernet0 10.1.3.239/32 10.1.3.239 Ethernet0 10.1.3.240/32 10.1.3.240 Ethernet0 10.1.5.3/32 10.1.5.3 Ethernet0 10.1.5.7/32 10.1.5.7 Ethernet0 10.1.5.13/32 10.1.5.13 Ethernet0 10.1.5.21/32 10.1.5.21 Ethernet0 10.1.5.22/32 10.1.5.22 Ethernet0 10.1.5.25/32 10.1.5.25 Ethernet0 10.1.5.27/32 10.1.5.27 Ethernet0 10.1.5.33/32 10.1.5.33 Ethernet0 10.1.5.40/32 10.1.5.40 Ethernet0 10.1.5.44/32 10.1.5.44 Ethernet0 10.1.5.45/32 10.1.5.45 Ethernet0 10.1.5.48/32 10.1.5.48 Ethernet0 10.1.5.52/32 10.1.5.52 Ethernet0 10.1.5.53/32 10.1.5.53 Ethernet0 10.1.5.59/32 10.1.5.59 Ethernet0 10.1.5.61/32 10.1.5.61 Ethernet0 10.1.5.66/32 10.1.5.66 Ethernet0 10.1.5.69/32 10.1.5.69 Ethernet0 10.1.5.73/32 10.1.5.73 Ethernet0 10.1.5.74/32 10.1.5.74 Ethernet0 10.1.5.76/32 10.1.5.76 Ethernet0 10.1.5.77/32 10.1.5.77 Ethernet0 10.1.5.80/32 10.1.5.80 Ethernet0 10.1.5.85/32 10.1.5.85 Ethernet0 10.1.5.86/32 10.1.5.86 Ethernet0 10.1.5.87/32 10.1.5.87 Ethernet0 10.1.5.88/32 10.1.5.88 Ethernet0 10.1.5.92/32 10.1.5.92 Ethernet0 10.1.255.255/32 receive 134.55.0.0/16 10.1.1.1 Ethernet0 134.107.195.0/24 attached Ethernet0 134.107.195.0/32 receive 134.107.195.1/32 receive 134.107.195.2/32 134.107.195.2 Ethernet0 134.107.195.6/32 134.107.195.6 Ethernet0 134.107.195.19/32 134.107.195.19 Ethernet0 134.107.195.255/32 receive 192.129.30.0/24 attached Ethernet0 192.129.30.0/32 receive 192.129.30.1/32 192.129.30.1 Ethernet0 192.129.30.2/32 192.129.30.2 Ethernet0 192.129.30.3/32 192.129.30.3 Ethernet0 192.129.30.4/32 192.129.30.4 Ethernet0 192.129.30.5/32 192.129.30.5 Ethernet0 192.129.30.6/32 192.129.30.6 Ethernet0 192.129.30.7/32 192.129.30.7 Ethernet0 192.129.30.9/32 192.129.30.9 Ethernet0 192.129.30.10/32 192.129.30.10 Ethernet0 192.129.30.69/32 192.129.30.69 Ethernet0 192.129.30.70/32 192.129.30.70 Ethernet0 192.129.30.253/32 192.129.30.253 Ethernet0 192.129.30.254/32 receive 192.129.30.255/32 receive 192.168.1.0/24 attached Ethernet0 192.168.1.0/32 receive 192.168.1.7/32 192.168.1.7 Ethernet0 192.168.1.8/32 192.168.1.8 Ethernet0 192.168.1.14/32 192.168.1.14 Ethernet0 192.168.1.15/32 192.168.1.15 Ethernet0 192.168.1.18/32 192.168.1.18 Ethernet0 192.168.1.20/32 192.168.1.20 Ethernet0 192.168.1.28/32 192.168.1.28 Ethernet0 192.168.1.29/32 192.168.1.29 Ethernet0 192.168.1.30/32 192.168.1.30 Ethernet0 192.168.1.34/32 192.168.1.34 Ethernet0 192.168.1.35/32 192.168.1.35 Ethernet0 192.168.1.39/32 192.168.1.39 Ethernet0 192.168.1.40/32 192.168.1.40 Ethernet0 192.168.1.41/32 192.168.1.41 Ethernet0 192.168.1.42/32 192.168.1.42 Ethernet0 192.168.1.43/32 192.168.1.43 Ethernet0 192.168.1.44/32 192.168.1.44 Ethernet0 192.168.1.45/32 192.168.1.45 Ethernet0 192.168.1.46/32 192.168.1.46 Ethernet0 192.168.1.47/32 192.168.1.47 Ethernet0 192.168.1.51/32 192.168.1.51 Ethernet0 192.168.1.52/32 192.168.1.52 Ethernet0 192.168.1.54/32 192.168.1.54 Ethernet0 192.168.1.56/32 192.168.1.56 Ethernet0 192.168.1.57/32 192.168.1.57 Ethernet0 192.168.1.58/32 192.168.1.58 Ethernet0 192.168.1.65/32 192.168.1.65 Ethernet0 192.168.1.83/32 192.168.1.83 Ethernet0 192.168.1.89/32 192.168.1.89 Ethernet0 192.168.1.92/32 192.168.1.92 Ethernet0 192.168.1.93/32 192.168.1.93 Ethernet0 192.168.1.94/32 192.168.1.94 Ethernet0 192.168.1.95/32 192.168.1.95 Ethernet0 192.168.1.107/32 192.168.1.107 Ethernet0 192.168.1.110/32 192.168.1.110 Ethernet0 192.168.1.111/32 192.168.1.111 Ethernet0 192.168.1.113/32 192.168.1.113 Ethernet0 192.168.1.115/32 192.168.1.115 Ethernet0 192.168.1.123/32 192.168.1.123 Ethernet0 192.168.1.150/32 192.168.1.150 Ethernet0 192.168.1.201/32 192.168.1.201 Ethernet0 192.168.1.254/32 receive 192.168.1.255/32 receive 195.37.33.0/24 attached Ethernet0 195.37.33.0/32 receive 195.37.33.254/32 receive 195.37.33.255/32 receive 224.0.0.0/4 drop 224.0.0.0/24 receive 255.255.255.255/32 receive

router1#sho int stats BRI0 Switching path Pkts In Chars In Pkts Out Chars Out Processor 18 74 18 74 Route cache 0 0 0 0 Total 18 74 18 74 BRI0:1 Switching path Pkts In Chars In Pkts Out Chars Out Processor 0 0 0 0 Route cache 0 0 0 0 Total 0 0 0 0 BRI0:2 Switching path Pkts In Chars In Pkts Out Chars Out Processor 0 0 0 0 Route cache 0 0 0 0 Total 0 0 0 0 Ethernet0 Switching path Pkts In Chars In Pkts Out Chars Out Processor 236792 24179973 22348 2132481 Route cache 3594288 1382376689 3593592 1384114207 Total 3831080 1406556662 3615940 1386246688 Interface Serial0 is disabled

Interface Serial1 is disabled

router1#sho inter switching BRI0

Protocol Other Switching path Pkts In Chars In Pkts Out Chars Out Process 0 0 18 74 Cache misses 0 - - - Fast 0 0 0 0 Auton/SSE 0 0 0 0

NOTE: all counts are cumulative and reset only after a reload. BRI0:1

All statistics for this interface are zero. BRI0:2

All statistics for this interface are zero. Ethernet0 Lokales Ethernet Throttle count 2 Drops RP 2 SP 0 SPD Flushes Fast 1 SSE 0 SPD Aggress Fast 0 SPD Priority Inputs 16576 Drops 0

Protocol IP Switching path Pkts In Chars In Pkts Out Chars Out Process 97060 12240266 12308 1380023 Cache misses 97000 - - - Fast 3599742 1384468891 3599046 1386206409 Auton/SSE 0 0 0 0

Protocol ARP Switching path Pkts In Chars In Pkts Out Chars Out Process 16856 1011794 7123 427380 Cache misses 0 - - - Fast 0 0 0 0 Auton/SSE 0 0 0 0

Protocol CDP Switching path Pkts In Chars In Pkts Out Chars Out Process 0 0 437 180044 Cache misses 0 - - - Fast 0 0 0 0 Auton/SSE 0 0 0 0

Protocol Other Switching path Pkts In Chars In Pkts Out Chars Out Process 124386 11038880 2627 157620 Cache misses 0 - - - Fast 0 0 0 0 Auton/SSE 0 0 0 0

NOTE: all counts are cumulative and reset only after a reload.

Interface Serial0 is disabled

Interface Serial1 is disabled

Reply to
Christoph Gartmann

The router has CEF enabled which is good

The CEF process accounts for 30% of total CPU usage.

There is a lot of non-IP traffic being received on the Ethernet port

What release of IOS was used on this router previosuly and what was the motivation to upgrade the IOS?

It might be worthwhile to revert and baseline the CPU usage and the memoru usage ( show memory free )

Reply to
Merv

You should tell people to use "sho proc cpu | excl 0.00"

Reply to
Hansang Bae

We have AppleTalk running.

Before it was 12.3(9). We have a problem with VPN-Tunnels over TCP. This router seems to drop the first fragment of an encrypted tunnel packet. So we thought going from 12.3(9) to 12.3(16a) would be worth a try.

This is what we will do next.

Regards, Christoph Gartmann

Reply to
Christoph Gartmann

There are a couple of things that it might be worth looking at. As stated this is probably a software bug, but just may be legitimate use of memory. This seems unlikely from looking at the process list, if it is complete.

Use sh proc mem at intervals to see if you can locate the process that is using up the memory.

The AAA process mentioned in the log is an obvious candidate to examine closely, however it may be that it was a different process that ate all the memory first.

If you can find it you may be able to turn it off :-))) It may be feature that you don't need.

You can use sh mem (just the top 3 lines) to check that you do not have memory fragmentation. That is - Largest much less than Free. What to do about it is another matter but read on.

It may be worth reducing buffer allocation/free activity. If (by chance) the bug is there you MAY be able to eliminate the effect by statically allocating the required buffers.

Here is for example a router that is suffering some buffer stress.

Small buffers, 104 bytes (total 151, permanent 50, peak 186 @ 6d03h): 149 in free list (20 min, 150 max allowed) 3258440 hits, 15510 misses, 3849 trims, 3950 created 8536 failures (0 no memory)

A failure can resut in a dropped packet.

I would just set 190 permanent small buffers (after checking that I had enough memory).

104 bytes each gives us 104 * 190 = 20,000.

There will probably be an allocation overhead per buffer so don't squeeze the memory too tightly. It would be easy to check using sh mem.

I feel that the Cisco buffer allocation strategy is now too conservative.

By the way:- I had NO idea that this router was suffereing from this issue, thanks for pointing me in that direction.

It is underspecified for the job but we don't want to change it since it will be obsolete soon.

If you like, post the shows and we can have a look.

i.e. first few lines of sh mem when the memory is almost gone, sh buff.

You could always just try various releases. Good luck.

Reply to
anybody43

It is "IP input".

[...]

Similar situation here.

Currently I am back to 12.3(9) and here things look all right.

Regards, Christoph Gartmann

Reply to
Christoph Gartmann

If you have a support contract open a case with Cisco regarding your tunnel issue and then the memory leak issue.

Reply to
Merv

Unfortunately I have no contract for this old router :-(

Regards, Christoph Gartmann

Reply to
Christoph Gartmann

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.