[f-nsp] Memory leak on ICX7450

Clement Cavadore clement at cavadore.net
Thu Dec 14 01:12:59 EST 2017


ssh for the "rancid-like" project, serial console as described on my
email for my testbed.

Kind regards,

Clément

On Wed, 2017-12-13 at 21:31 +0000, Tim Warnock wrote:
> I used to test 10,000 “show run” and 20 “show techs”, along side 10,000 full SNMP “walks”.
> 
> Are you using telnet or ssh?
> 
> On 13 Dec 2017, at 18:49, Clement Cavadore <clement at cavadore.net<mailto:clement at cavadore.net>> wrote:
> 
> Hello,
> 
> I have found a probable memory leak on ICX7450 code version SPR08061a
> (and b).
> 
> As this is some grey-market gear, I cannot open a case in order to
> report it, however I'd like to let it know to people here, so either
> then can report it by themselves, either to (unofficially) take in
> account this bug: "show conf" does generate a memory leak.
> 
> I had it triggered because of our "rancid-like" configuration management
> (which was run once an hour), and it made the memory be fulfilled, as
> you can see on "leak1" attachment. It finally made one of those switches
> reload because of that memory leak. So we tried to isolate which of the
> command was involved in that leak, and we found out that it may be "show
> conf".
> 
> 
> 
> 
> We then made a test on our spare equipment:
> -------------------------------------------------------------------------------
> => Serial connection, no configuration:
> 
> erase startup-config
> *         power off (same with reload)
> *         power on
> … boot …
> show conf
> => No conf, so warning
> write mem
> => We now have some config elements in the flash
> 
> show mem
> => Some RAM available, 22% used ; 1625088000 bytes free.
> show conf
> show conf
> show mem
> => Still 22% used, but 1622929408 bytes free.
> 
> We then made a skip-page-display, and then, sent 500 times "show conf"
> via the serial console. Here is the result:
> ICX7450-24 Router#sh mem
> 
> Stack unit 1:
> 
> Total DRAM: 2147483648 bytes
> 
> Dynamic memory: 2095566848 bytes total, 1095876608 bytes free, 47% used
> -------------------------------------------------------------------------------
> 
> 
> I also have attached the logfile of what I described above.
> Hope it may help somewhere. If anybody could report it... :-)
> 
> 
> Kind regards,
> 
> Clément Cavadore
> 
> <leak1.jpg>
> <icx_diediedie.txt>
> _______________________________________________
> foundry-nsp mailing list
> foundry-nsp at puck.nether.net<mailto:foundry-nsp at puck.nether.net>
> http://puck.nether.net/mailman/listinfo/foundry-nsp




More information about the foundry-nsp mailing list