cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
1214
Views
0
Helpful
1
Replies

memory leak 4507

Hi,

we have a problem of memory leak in a 4507 router. It seems to be related with the process HTTP CP. So I thi

nk that we are hitting this bug:

CSCsk34832

ION: Memory Leak on HTTP Core
Symptom: Memory is leaked when connecting to the device using HTTP. Conditions: The problem is seen when " ip http server" is enabled and the switch is managed through http. Workaround: Disable " ip http server".

output before disable "ip http server":

sh processes mem sorted
Processor Pool Total:  223816216 Used:  192689868 Free:   31126348

PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
   0   0  125049068    2738420  107655680          0          0 *Init*         
114   0  605064148 2867280280   50070740          0          0 HTTP CORE      
   0   0 1966577296 1978051912   23090872     575384     242364 *Dead*         
  46   0 4082690304 1976845624    1439424   15149136    7062572 Cat4k Mgmt HiPri

output 3 hours after disable "ip http server":
sh processes mem sorted
Processor Pool Total:  223816216 Used:  192756752 Free:   31059464

PID TTY  Allocated      Freed    Holding    Getbufs    Retbufs Process
   0   0  125049068    2738420  107655680          0          0 *Init*
114   0  728000100 2971377100   50221968          0          0 HTTP CORE
   0   0 2197142088 2208164572   23091632     579920     242364 *Dead*
  46   0  145151284 1992050552    1428688   15228792    7062572 Cat4k Mgmt HiPri

The HTTP Core process it's still holding memory, after disable the ip http server, shouldnt free the memory?

Thank you.

Best regards

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Norberto,

you may need to reload the switch to actually free memory.

However, the correct solution is an IOS image upgrade to an IOS image where the bug is fixed

if you have access to the bug  info you can easily find the list of fixed-in images (minimal versions)

Hope to help

Giuseppe

Review Cisco Networking for a $25 gift card