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