<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic x770 EXOS 21.1.2.14 memory utilization - what is normal and how to interpret output of mem-stats.py in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/x770-exos-21-1-2-14-memory-utilization-what-is-normal-and-how-to/m-p/53598#M15117</link>
    <description>&lt;P&gt;My customer is complaining of memory leak on x770 running EXOS 21.1.2.14 patch 1-2. I see no known issues documented in TAC for this version and also refer to &lt;A href="https://extremeportal.force.com/ExtrArticleDetail?an=000090145" target="_blank" rel="nofollow noreferrer noopener"&gt;https://extremeportal.force.com/ExtrArticleDetail?an=000090145&lt;/A&gt; to help me troubleshoot.&lt;BR /&gt;&lt;BR /&gt;Based upon these outputs that were recently collected (see below), my questions are:&lt;BR /&gt;&lt;BR /&gt;1. Can anybody guide me on what is "normal" memory utilization for this switch and EXOS version?&lt;BR /&gt;&lt;BR /&gt;2. If I interpret the results correctly, I believe the script mem-stats.py is telling me that roughly 145MB of memory has been consumed during the 1 month sample period and that xmld is responsible for most of that (135MB).&lt;BR /&gt;&lt;BR /&gt;3. If I'm correct on point #2, is this normal and correct behavior or is this indeed pointing to a leak?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Brad&lt;BR /&gt;&lt;BR /&gt;System Memory Information&lt;BR /&gt;-------------------------&lt;BR /&gt;Total DRAM (KB): 1048576&lt;BR /&gt;System (KB): 27080&lt;BR /&gt;User (KB): 524572&lt;BR /&gt;Free (KB): 496924&lt;BR /&gt;&lt;BR /&gt;Memory Utilization Statistics&lt;BR /&gt;-----------------------------&lt;BR /&gt;&lt;BR /&gt;Process Name Memory (KB)&lt;BR /&gt;-----------------------------&lt;BR /&gt;aaa 2059&lt;BR /&gt;acl 1916&lt;BR /&gt;bfd 959&lt;BR /&gt;bgp 0&lt;BR /&gt;brm 862&lt;BR /&gt;cfgmgr 3031&lt;BR /&gt;cli 22368&lt;BR /&gt;devmgr 768&lt;BR /&gt;dirser 418&lt;BR /&gt;dosprotect 375&lt;BR /&gt;dot1ag 1168&lt;BR /&gt;eaps 1129&lt;BR /&gt;edp 980&lt;BR /&gt;elrp 916&lt;BR /&gt;elsm 922&lt;BR /&gt;ems 2309&lt;BR /&gt;epm 1408&lt;BR /&gt;erps 1176&lt;BR /&gt;esrp 1051&lt;BR /&gt;ethoam 913&lt;BR /&gt;etmon 6593&lt;BR /&gt;exacl 0&lt;BR /&gt;exdhcpsnoop 0&lt;BR /&gt;exdos 0&lt;BR /&gt;exfib 0&lt;BR /&gt;exfipSnoop 0&lt;BR /&gt;exosmc 0&lt;BR /&gt;exosq 0&lt;BR /&gt;exsflow 0&lt;BR /&gt;exsnoop 0&lt;BR /&gt;exsshd 4715&lt;BR /&gt;exvlan 0&lt;BR /&gt;fcoe 961&lt;BR /&gt;fdb 2295&lt;BR /&gt;gptp 0&lt;BR /&gt;hal 19964&lt;BR /&gt;hclag 929&lt;BR /&gt;idMgr 2793&lt;BR /&gt;ipSecurity 1049&lt;BR /&gt;ipfix 952&lt;BR /&gt;isis 0&lt;BR /&gt;ismb 8095&lt;BR /&gt;lacp 1399&lt;BR /&gt;lldp 1174&lt;BR /&gt;mcmgr 2202&lt;BR /&gt;mpls 0&lt;BR /&gt;mrp 1095&lt;BR /&gt;msdp 603&lt;BR /&gt;netLogin 1187&lt;BR /&gt;netTools 4138&lt;BR /&gt;nettx 0&lt;BR /&gt;nodemgr 460&lt;BR /&gt;ntp 609&lt;BR /&gt;openflow 0&lt;BR /&gt;ospf 1106&lt;BR /&gt;ospfv3 4514&lt;BR /&gt;otm 1010&lt;BR /&gt;pim 1791&lt;BR /&gt;polMgr 420&lt;BR /&gt;policy 6942&lt;BR /&gt;ptpV2 0&lt;BR /&gt;pwmib 365&lt;BR /&gt;rip 830&lt;BR /&gt;r.png 625&lt;BR /&gt;rtmgr 2586&lt;BR /&gt;snmpMaster 2598&lt;BR /&gt;snmpSubagent 3590&lt;BR /&gt;stp 1301&lt;BR /&gt;techSupport 580&lt;BR /&gt;telnetd 830&lt;BR /&gt;tftpd 290&lt;BR /&gt;throw 5802&lt;BR /&gt;thttpd 8813&lt;BR /&gt;twamp 401&lt;BR /&gt;upm 1067&lt;BR /&gt;vlan 2775&lt;BR /&gt;vmt 1381&lt;BR /&gt;vrrp 1173&lt;BR /&gt;vsm 1334&lt;BR /&gt;xmlc 735&lt;BR /&gt;xmld 143221&lt;BR /&gt;&lt;BR /&gt;TRAFFIC_SWA_X770.2 # run script mem-stats.py&lt;BR /&gt;##[ Baseline ]##########################################################&lt;BR /&gt;- Baseline found : /usr/local/cfg/mem-stats.pckl&lt;BR /&gt;- Current time : 2017-03-23 06:50:30.497816&lt;BR /&gt;- Baseline time : 2017-02-23 02:47:25.890948&lt;BR /&gt;- Min since baseline : 40563.0&lt;BR /&gt;&lt;BR /&gt;##[ Memory overview ]###################################################&lt;BR /&gt;[ COUNTER ] [ MEM (KB) ] [ BASELINE ]&lt;BR /&gt;&lt;BR /&gt;MemFree 217028 -145508&lt;BR /&gt;MemFreeAct 495084 -144476&lt;BR /&gt;MemTotal 1021496 0&lt;BR /&gt;Slab 91580 1508&lt;BR /&gt;&lt;BR /&gt;##[ Processes ]#########################################################&lt;BR /&gt;--[ Sorted by memory allocation ]---------------------------------------&lt;BR /&gt;[ PID ] [ PROCESS ] [ MEM (KB) ] [ BASELINE ]&lt;BR /&gt;&lt;BR /&gt;2000 xmld 144688 135376&lt;BR /&gt;1874 cliMaster 24620 19500&lt;BR /&gt;1870 hal 22052 -7172&lt;BR /&gt;2062 expy 12780 10256&lt;BR /&gt;2004 expy 9488 7288&lt;BR /&gt;2058 policy 8876 -3412&lt;BR /&gt;1972 netTools 6044 3788&lt;BR /&gt;1880 snmpSubagent 5032 608&lt;BR /&gt;2016 idMgr 4736 44&lt;BR /&gt;1876 cfgmgr 4528 -476&lt;BR /&gt;&lt;BR /&gt;--[ Sorted by increased memory allocation ]-----------------------------&lt;BR /&gt;[ PID ] [ PROCESS ] [ MEM (KB) ] [ BASELINE ]&lt;BR /&gt;&lt;BR /&gt;2000 xmld 144688 135376&lt;BR /&gt;1874 cliMaster 24620 19500&lt;BR /&gt;2062 expy 12780 10256&lt;BR /&gt;2004 expy 9488 7288&lt;BR /&gt;1972 netTools 6044 3788&lt;BR /&gt;1984 vrrp 2880 2388&lt;BR /&gt;1886 vlan 4384 1992&lt;BR /&gt;1930 rtmgr 4208 1796&lt;BR /&gt;1969 acl 3760 1064&lt;BR /&gt;1954 r.png 2228 692&lt;BR /&gt;&lt;BR /&gt;##[ Kernel slab cache ]#################################################&lt;BR /&gt;--[ Sorted by slabs ]---------------------------------------------------&lt;BR /&gt;[ NAME ] [ SLABS ] [ SIZE (KB) ] [ BASELINE ]&lt;BR /&gt;&lt;BR /&gt;buffer_head 4317 17268 21&lt;BR /&gt;jffs2_refblock 1212 4848 12&lt;BR /&gt;size-4096 1081 4324 16&lt;BR /&gt;dentry 539 2156 -20&lt;BR /&gt;jffs2_node_frag 396 1584 1&lt;BR /&gt;size-1024 393 1572 -20&lt;BR /&gt;radix_tree_node 354 1416 1&lt;BR /&gt;UNIX 315 1260 -4&lt;BR /&gt;sock_inode_cache 309 1236 -3&lt;BR /&gt;size-16384 299 4784 -8&lt;BR /&gt;&lt;BR /&gt;--[ Sorted by cache size ]----------------------------------------------&lt;BR /&gt;[ NAME ] [ SLABS ] [ SIZE (KB) ] [ BASELINE ]&lt;BR /&gt;&lt;BR /&gt;buffer_head 4317 17268 21&lt;BR /&gt;size-65536 173 11072 0&lt;BR /&gt;size-524288 21 10752 0&lt;BR /&gt;size-262144 32 8192 0&lt;BR /&gt;jffs2_refblock 1212 4848 12&lt;BR /&gt;size-16384 299 4784 -8&lt;BR /&gt;size-4096 1081 4324 16&lt;BR /&gt;size-131072 28 3584 0&lt;BR /&gt;dentry 539 2156 -20&lt;BR /&gt;jffs2_node_frag 396 1584 1&lt;BR /&gt;&lt;BR /&gt;--[ Sorted by increased slabs ]-----------------------------------------&lt;BR /&gt;[ NAME ] [ SLABS ] [ SIZE (KB) ] [ BASELINE ]&lt;BR /&gt;&lt;BR /&gt;FldPatFld 221 884 112&lt;BR /&gt;ip_dst_cache 114 456 108&lt;BR /&gt;size-512 196 784 72&lt;BR /&gt;FldActAct 67 268 36&lt;BR /&gt;arp_cache &amp;amp;nb&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2017 18:52:00 GMT</pubDate>
    <dc:creator>Brad_Artlip</dc:creator>
    <dc:date>2017-03-23T18:52:00Z</dc:date>
    <item>
      <title>x770 EXOS 21.1.2.14 memory utilization - what is normal and how to interpret output of mem-stats.py</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/x770-exos-21-1-2-14-memory-utilization-what-is-normal-and-how-to/m-p/53598#M15117</link>
      <description>&lt;P&gt;My customer is complaining of memory leak on x770 running EXOS 21.1.2.14 patch 1-2. I see no known issues documented in TAC for this version and also refer to &lt;A href="https://extremeportal.force.com/ExtrArticleDetail?an=000090145" target="_blank" rel="nofollow noreferrer noopener"&gt;https://extremeportal.force.com/ExtrArticleDetail?an=000090145&lt;/A&gt; to help me troubleshoot.&lt;BR /&gt;&lt;BR /&gt;Based upon these outputs that were recently collected (see below), my questions are:&lt;BR /&gt;&lt;BR /&gt;1. Can anybody guide me on what is "normal" memory utilization for this switch and EXOS version?&lt;BR /&gt;&lt;BR /&gt;2. If I interpret the results correctly, I believe the script mem-stats.py is telling me that roughly 145MB of memory has been consumed during the 1 month sample period and that xmld is responsible for most of that (135MB).&lt;BR /&gt;&lt;BR /&gt;3. If I'm correct on point #2, is this normal and correct behavior or is this indeed pointing to a leak?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Brad&lt;BR /&gt;&lt;BR /&gt;System Memory Information&lt;BR /&gt;-------------------------&lt;BR /&gt;Total DRAM (KB): 1048576&lt;BR /&gt;System (KB): 27080&lt;BR /&gt;User (KB): 524572&lt;BR /&gt;Free (KB): 496924&lt;BR /&gt;&lt;BR /&gt;Memory Utilization Statistics&lt;BR /&gt;-----------------------------&lt;BR /&gt;&lt;BR /&gt;Process Name Memory (KB)&lt;BR /&gt;-----------------------------&lt;BR /&gt;aaa 2059&lt;BR /&gt;acl 1916&lt;BR /&gt;bfd 959&lt;BR /&gt;bgp 0&lt;BR /&gt;brm 862&lt;BR /&gt;cfgmgr 3031&lt;BR /&gt;cli 22368&lt;BR /&gt;devmgr 768&lt;BR /&gt;dirser 418&lt;BR /&gt;dosprotect 375&lt;BR /&gt;dot1ag 1168&lt;BR /&gt;eaps 1129&lt;BR /&gt;edp 980&lt;BR /&gt;elrp 916&lt;BR /&gt;elsm 922&lt;BR /&gt;ems 2309&lt;BR /&gt;epm 1408&lt;BR /&gt;erps 1176&lt;BR /&gt;esrp 1051&lt;BR /&gt;ethoam 913&lt;BR /&gt;etmon 6593&lt;BR /&gt;exacl 0&lt;BR /&gt;exdhcpsnoop 0&lt;BR /&gt;exdos 0&lt;BR /&gt;exfib 0&lt;BR /&gt;exfipSnoop 0&lt;BR /&gt;exosmc 0&lt;BR /&gt;exosq 0&lt;BR /&gt;exsflow 0&lt;BR /&gt;exsnoop 0&lt;BR /&gt;exsshd 4715&lt;BR /&gt;exvlan 0&lt;BR /&gt;fcoe 961&lt;BR /&gt;fdb 2295&lt;BR /&gt;gptp 0&lt;BR /&gt;hal 19964&lt;BR /&gt;hclag 929&lt;BR /&gt;idMgr 2793&lt;BR /&gt;ipSecurity 1049&lt;BR /&gt;ipfix 952&lt;BR /&gt;isis 0&lt;BR /&gt;ismb 8095&lt;BR /&gt;lacp 1399&lt;BR /&gt;lldp 1174&lt;BR /&gt;mcmgr 2202&lt;BR /&gt;mpls 0&lt;BR /&gt;mrp 1095&lt;BR /&gt;msdp 603&lt;BR /&gt;netLogin 1187&lt;BR /&gt;netTools 4138&lt;BR /&gt;nettx 0&lt;BR /&gt;nodemgr 460&lt;BR /&gt;ntp 609&lt;BR /&gt;openflow 0&lt;BR /&gt;ospf 1106&lt;BR /&gt;ospfv3 4514&lt;BR /&gt;otm 1010&lt;BR /&gt;pim 1791&lt;BR /&gt;polMgr 420&lt;BR /&gt;policy 6942&lt;BR /&gt;ptpV2 0&lt;BR /&gt;pwmib 365&lt;BR /&gt;rip 830&lt;BR /&gt;r.png 625&lt;BR /&gt;rtmgr 2586&lt;BR /&gt;snmpMaster 2598&lt;BR /&gt;snmpSubagent 3590&lt;BR /&gt;stp 1301&lt;BR /&gt;techSupport 580&lt;BR /&gt;telnetd 830&lt;BR /&gt;tftpd 290&lt;BR /&gt;throw 5802&lt;BR /&gt;thttpd 8813&lt;BR /&gt;twamp 401&lt;BR /&gt;upm 1067&lt;BR /&gt;vlan 2775&lt;BR /&gt;vmt 1381&lt;BR /&gt;vrrp 1173&lt;BR /&gt;vsm 1334&lt;BR /&gt;xmlc 735&lt;BR /&gt;xmld 143221&lt;BR /&gt;&lt;BR /&gt;TRAFFIC_SWA_X770.2 # run script mem-stats.py&lt;BR /&gt;##[ Baseline ]##########################################################&lt;BR /&gt;- Baseline found : /usr/local/cfg/mem-stats.pckl&lt;BR /&gt;- Current time : 2017-03-23 06:50:30.497816&lt;BR /&gt;- Baseline time : 2017-02-23 02:47:25.890948&lt;BR /&gt;- Min since baseline : 40563.0&lt;BR /&gt;&lt;BR /&gt;##[ Memory overview ]###################################################&lt;BR /&gt;[ COUNTER ] [ MEM (KB) ] [ BASELINE ]&lt;BR /&gt;&lt;BR /&gt;MemFree 217028 -145508&lt;BR /&gt;MemFreeAct 495084 -144476&lt;BR /&gt;MemTotal 1021496 0&lt;BR /&gt;Slab 91580 1508&lt;BR /&gt;&lt;BR /&gt;##[ Processes ]#########################################################&lt;BR /&gt;--[ Sorted by memory allocation ]---------------------------------------&lt;BR /&gt;[ PID ] [ PROCESS ] [ MEM (KB) ] [ BASELINE ]&lt;BR /&gt;&lt;BR /&gt;2000 xmld 144688 135376&lt;BR /&gt;1874 cliMaster 24620 19500&lt;BR /&gt;1870 hal 22052 -7172&lt;BR /&gt;2062 expy 12780 10256&lt;BR /&gt;2004 expy 9488 7288&lt;BR /&gt;2058 policy 8876 -3412&lt;BR /&gt;1972 netTools 6044 3788&lt;BR /&gt;1880 snmpSubagent 5032 608&lt;BR /&gt;2016 idMgr 4736 44&lt;BR /&gt;1876 cfgmgr 4528 -476&lt;BR /&gt;&lt;BR /&gt;--[ Sorted by increased memory allocation ]-----------------------------&lt;BR /&gt;[ PID ] [ PROCESS ] [ MEM (KB) ] [ BASELINE ]&lt;BR /&gt;&lt;BR /&gt;2000 xmld 144688 135376&lt;BR /&gt;1874 cliMaster 24620 19500&lt;BR /&gt;2062 expy 12780 10256&lt;BR /&gt;2004 expy 9488 7288&lt;BR /&gt;1972 netTools 6044 3788&lt;BR /&gt;1984 vrrp 2880 2388&lt;BR /&gt;1886 vlan 4384 1992&lt;BR /&gt;1930 rtmgr 4208 1796&lt;BR /&gt;1969 acl 3760 1064&lt;BR /&gt;1954 r.png 2228 692&lt;BR /&gt;&lt;BR /&gt;##[ Kernel slab cache ]#################################################&lt;BR /&gt;--[ Sorted by slabs ]---------------------------------------------------&lt;BR /&gt;[ NAME ] [ SLABS ] [ SIZE (KB) ] [ BASELINE ]&lt;BR /&gt;&lt;BR /&gt;buffer_head 4317 17268 21&lt;BR /&gt;jffs2_refblock 1212 4848 12&lt;BR /&gt;size-4096 1081 4324 16&lt;BR /&gt;dentry 539 2156 -20&lt;BR /&gt;jffs2_node_frag 396 1584 1&lt;BR /&gt;size-1024 393 1572 -20&lt;BR /&gt;radix_tree_node 354 1416 1&lt;BR /&gt;UNIX 315 1260 -4&lt;BR /&gt;sock_inode_cache 309 1236 -3&lt;BR /&gt;size-16384 299 4784 -8&lt;BR /&gt;&lt;BR /&gt;--[ Sorted by cache size ]----------------------------------------------&lt;BR /&gt;[ NAME ] [ SLABS ] [ SIZE (KB) ] [ BASELINE ]&lt;BR /&gt;&lt;BR /&gt;buffer_head 4317 17268 21&lt;BR /&gt;size-65536 173 11072 0&lt;BR /&gt;size-524288 21 10752 0&lt;BR /&gt;size-262144 32 8192 0&lt;BR /&gt;jffs2_refblock 1212 4848 12&lt;BR /&gt;size-16384 299 4784 -8&lt;BR /&gt;size-4096 1081 4324 16&lt;BR /&gt;size-131072 28 3584 0&lt;BR /&gt;dentry 539 2156 -20&lt;BR /&gt;jffs2_node_frag 396 1584 1&lt;BR /&gt;&lt;BR /&gt;--[ Sorted by increased slabs ]-----------------------------------------&lt;BR /&gt;[ NAME ] [ SLABS ] [ SIZE (KB) ] [ BASELINE ]&lt;BR /&gt;&lt;BR /&gt;FldPatFld 221 884 112&lt;BR /&gt;ip_dst_cache 114 456 108&lt;BR /&gt;size-512 196 784 72&lt;BR /&gt;FldActAct 67 268 36&lt;BR /&gt;arp_cache &amp;amp;nb&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 18:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/x770-exos-21-1-2-14-memory-utilization-what-is-normal-and-how-to/m-p/53598#M15117</guid>
      <dc:creator>Brad_Artlip</dc:creator>
      <dc:date>2017-03-23T18:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: x770 EXOS 21.1.2.14 memory utilization - what is normal and how to interpret output of mem-stats.py</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/x770-exos-21-1-2-14-memory-utilization-what-is-normal-and-how-to/m-p/53599#M15118</link>
      <description>&lt;P&gt;Sorry there hasn't been a reply yet. Below are the answers to your questions.&lt;BR /&gt;&lt;BR /&gt;1. What is "normal" memory utilization?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It depends on what the switch is doing. I would jsut make sure the memory is being released at slower times in your network, and now always increasing.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;2. 145MB of more memory has been consumed during the 1 month sample period?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It increased by 135MB in one month. This is a problem unless the baseline was taken before it was in production.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;3. Is this normal or is this indeed pointing to a leak?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Its a memory leak.&lt;/LI&gt;	&lt;LI&gt;There was a bug in your version, and fixed in EXOS 21.1.2.14-patch1-2. See article. &lt;A href="https://extremeportal.force.com/ExtrArticleDetail?an=000062874" target="_blank" rel="nofollow noreferrer noopener"&gt;https://extremeportal.force.com/ExtrArticleDetail?an=000062874&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope this helps.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 22:31:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/x770-exos-21-1-2-14-memory-utilization-what-is-normal-and-how-to/m-p/53599#M15118</guid>
      <dc:creator>StephenW</dc:creator>
      <dc:date>2017-06-16T22:31:00Z</dc:date>
    </item>
  </channel>
</rss>

