cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2146
Views
0
Helpful
2
Replies

High Memory Usage on MDS Switch

Chetan R
Level 1
Level 1

I see that the CPU usage is 96% idle. However memory used is 819532K & free memory to be 213568K.

The memory usage seen is the same for graphical view in device manager and via CLI.

Please advise

show system resources

Load average:   1 minute: 0.36   5 minutes: 0.30   15 minutes: 0.18

Processes   :   180 total, 1 running

CPU states :   0.0% user,   4.0% kernel,   96.0% idle

Memory usage:   1033100K total,   819532K used,   213568K free

`show process memory`

PID    MemAlloc  MemLimit    MemUsed     StackBase/Ptr      Process
-----  --------  ----------  ----------  -----------------  ----------------
    1    147456  0           1667072     7ffffe50/7ffff950  init
    2         0  0           0                  0/0         ksoftirqd/0
    3         0  0           0                  0/0         desched/0
    4         0  0           0                  0/0         events/0
    5         0  0           0                  0/0         khelper
   10         0  0           0                  0/0         kthread
   25         0  0           0                  0/0         kblockd/0
   43         0  0           0                  0/0         khubd
   86         0  0           0                  0/0         pdflush
   87         0  0           0                  0/0         pdflush
   88         0  0           0                  0/0         kswapd0
   89         0  0           0                  0/0         aio/0
  664         0  0           0                  0/0         exec-osm/0
  996         0  0           0                  0/0         kjournald
1001         0  0           0                  0/0         kjournald
1537         0  0           0                  0/0         kjournald
1544         0  0           0                  0/0         kjournald
1559         0  0           0                  0/0         kjournald
1758    167936  0           1916928     7ffffd80/7ffffc70  portmap
1765   1384448  0           6594560     7ffffd70/7ffffac0  httpd
1769    167936  0           2052096     7ffffd70/7ffffb10  rpc.statd
1786         0  0           0                  0/0         nfsd
1787         0  0           0                  0/0         nfsd
1788         0  0           0                  0/0         nfsd
1789         0  0           0                  0/0         nfsd
1790         0  0           0                  0/0         nfsd
1791         0  0           0                  0/0         nfsd
1792         0  0           0                  0/0         nfsd
1793         0  0           0                  0/0         nfsd
1794         0  0           0                  0/0         lockd
1795         0  0           0                  0/0         rpciod
1800    188416  0           2097152     7ffffd70/7ffffb90  rpc.mountd
1804  34508800  0           45555712    7ffffd30/7fffed90  sysmgr
2052         0  0           0                  0/0         mping-thread
2104         0  0           0                  0/0         redun_kthread
2130         0  0           0                  0/0         usd_mts_kthread
2157         0  0           0                  0/0         ls-notify-mts-t
2251         0  0           0                  0/0         sdip-mts-thread
2339         0  0           0                  0/0         kfu_fsm-app-137
2340         0  0           0                  0/0         kfu_mts-app-137
2537    430080  40454937    19079168    7ffffa60/7ffff8d0  tftpd
2538   5836800  74217228    42004480    7ffffa30/7ffff4a0  syslogd
2539   1286144  56313312    26718208    7ffffa70/7fffe9a0  sdwrapd
2542   4849664  0           35450880    7ffffa70/7fff8050  platform
2596   1122304  29454937    23654400    7ffffa80/7ffff360  xbar_driver_usd
2597    528384  29454937    21880832    7ffffa80/7ffff800  babycaesar
2598    626688  39529459    25931776    7ffffa60/7fffe000  pfm_dummy
2801    155648  0           1667072     7ffffa50/7ffff980  klogd
2816   5836800  0           25227264    7ffffa30/100e68d0  syslogd
2819   5836800  0           25227264    7ffffa30/31460940  syslogd
2829   2498560  252345702   30261248    7ffffa80/7ffff250  vshd
2830   3055616  315176435   37048320    7ffffa20/7ffff550  smm
2831    475136  41523609    19632128    7ffff9e0/7fffe710  lmgrd
2832    954368  38358003    25260032    7ffffa50/7ffff630  licmgr
2833    724992  34165964    25812992    7ffffa80/7ffff290  fs-daemon
2834    765952  32016793    24035328    7ffffa50/7fff34a0  feature-mgr
2835    573440  25705081    22364160    7ffffa80/7ffff830  fcfwd
2836    647168  31741952    23609344    7ffffa60/7ffff8a0  confcheck
2837   1359872  39989030    26951680    7ffffa60/7fffea40  capability
2839   3055616  0           20271104    7ffffa20/10059330  smm
2840   3055616  0           20271104    7ffffa20/300ae8d0  smm:active-time
2842   3055616  0           20271104    7ffffa20/31130a40  smm:smm-main-th
2846   3055616  0           20271104    7ffffa20/311b1a40  smm:smm-sysmgr-
2847   6950912  613565004   58789888    7ffffa20/7ffff3d0  clis
2855    647168  0           3203072     7ffff9b0/7ffff870  cisco
2859   6950912  0           42012672    7ffffa20/1038eb70  clis
2862   6950912  0           42012672    7ffffa20/310b3540  clis:clis-cli-t
2863   6950912  0           42012672    7ffffa20/31135b70  clis:clis-seria
2864   6950912  0           42012672    7ffffa20/311b7720  clis:clis-nvdb-
2865   1179648  49177779    24797184    7ffffa70/7ffff7e0  wwn
2866   1880064  129349721   28610560    7ffffa70/7ffff870  vsan
2867    860160  57049062    31858688    7ffffaa0/7ffff3f0  ttyd
2868    917504  25236499    22093824    7ffffa60/7ffff620  sysinfo
2869   1937408  64908659    29605888    7ffffa80/7fffe600  span
2870    786432  38245363    24944640    7ffffa80/7ffff4e0  sksd
2871   1249280  37982208    29810688    7ffffa60/7fffe5e0  sensor_usd
2872   1122304  261994022   28307456    7ffffa60/7ffff490  scheduler
2874   1478656  40926195    27316224    7ffffa70/7fffe600  plugin
2875    593920  79771788    22515712    7ffffa70/7ffff1f0  plog_sup
2876    548864  45685939    21532672    7ffffa20/7ffff880  pktmgr_dummy
2877    696320  84777510    27066368    7ffffa70/7fffed90  obfl
2878   1597440  65166816    34795520    7ffffa40/7ffff640  ntp
2879    548864  45685939    21532672    7ffffa10/7ffff870  netstack_dummy
2880   1306624  122696288   26685440    7ffffa50/7fffc0c0  mvsh
2881    552960  56798579    21635072    7ffffa70/7ffff7b0  memmon
2884    548864  45685939    21532672    7ffffa30/7ffff890  ip_dummy
2887    573440  30750720    22708224    7ffffa90/7ffff770  idehsd
2889   1388544  39461875    26574848    7ffffa80/7fffe600  fc2d
2890   1380352  42570739    28831744    7ffffa50/7fffe5f0  evms
2891   1429504  40281894    26824704    7ffffa50/7fffe5f0  evmc
2892    847872  85146969    27541504    7ffffa60/7fffc3d0  dev_log_sup
2893   1294336  40454937    31256576    7ffff990/7ffff780  dcos-xinetd
2894    704512  34742681    26341376    7ffffa80/7ffff4c0  core-dmon
2895    737280  115795046   25354240    7ffffa30/7fffd200  cimserver
2896    659456  41523609    25751552    7ffffa70/7fffdf50  bios_daemon
2897   2437120  316541632   42086400    7ffffa50/7ffff4c0  ascii-cfg
2898    696320  36443123    23126016    7ffffa60/7ffff590  arbiter
2899   1146880  52863360    28270592    7ffffa80/7ffff490  acl
2900   2134016  66946528    36548608    7ffffa40/7fffe610  tacacs
2901  11087872  89530918    41472000    7ffffa60/7fffe940  SystemHealth
2902   1683456  38369689    30351360    7ffffa40/7fffe640  securityd
2903   1441792  46610432    37216256    7ffffa50/7fffe810  cert_enroll
2904    978944  34769715    27549696    7ffffa50/7fffe880  aaa
2905   3055616  0           20271104    7ffffa20/31231540  smm:smm-cli-thr
2912   2273280  85719180    28585984    7ffffa60/7fffe2f0  device-alias
2913   2297856  57286521    28110848    7ffffa80/7ffff490  fcns
2914    675840  32332185    24223744    7ffffa80/7ffff750  rdl
2915   1396736  40191782    27152384    7ffffa80/7fffe840  epp
2916   1679360  93008537    29007872    7ffffa80/7ffff0d0  fcdomain
2917   2674688  55795168    27119616    7ffffaa0/7ffff960  rib
2918    782336  44461753    25550848    7ffffa80/7ffff680  rlir
2919   1036288  45259244    26517504    7ffffa80/7ffff680  rscn
2921   1433600  149203225   35766272    7ffffa60/7ffff8b0  cdp
2922   1736704  67604345    36827136    7ffffa30/7fffe810  radius
2923    548864  45685939    21532672    7ffffa20/7ffff880  ipv6_dummy
2929    749568  37740736    24449024    7ffffaa0/7ffff220  fcc
2930  11087872  0           24694784    7ffffa60/10134340  ohms_sup
2931  11087872  0           24694784    7ffffa60/3182ae40  ohms_sup
2932   4624384  143201766   34844672    7ffffa70/7ffff3a0  zone
2933   2240512  54102400    29548544    7ffffa60/7fffe3e0  port-channel
2934   1196032  32895385    24793088    7ffffa50/7ffff490  scsi-target
2935   2437120  65579993    30679040    7ffffa70/7fffe620  flogi
2936   5234688  144693120   31936512    7ffffaa0/7ffff0d0  fspf
2938   1327104  59821836    24469504    7ffffa70/7ffff700  dstats
2939   4247552  57025196    30285824    7ffffa80/7ffff690  fcs
2940    716800  49380531    24977408    7ffffa80/7ffff400  ipfc
2941   5234688  0           15159296    7ffffaa0/1005e490  fspf
2942   5234688  0           15159296    7ffffaa0/31235e50  fspf
2943   5234688  0           15159296    7ffffaa0/3141ee50  fspf
2948   2080768  41412800    28418048    7ffffa70/7fffe5e0  ipconf
2951   9424896  269435443   45289472    7ffffa70/7fffe590  cfs
2953   1277952  52845337    28655616    7ffffa60/7fffe510  vrrp-eng
2955   1216512  57547846    27664384    7ffffa40/7ffff810  port-security
2956   1847296  41011801    27959296    7ffffa70/7fffe590  vrrp-cfg
3074  12271616  110799180   69287936    7ffffa10/7fffe400  snmpd
3083   1490944  145603251   32788480    7ffffa40/7ffff840  callhome
3121   1331200  38342656    30138368    7ffffa60/7fffea70  xbar_client
3122   2220032  68251814    32354304    7ffffa80/7fffe420  xbar
3125   1564672  55035059    30162944    7ffffa60/7fffe610  ethport
3126   1896448  41498406    28172288    7ffffa60/7fffe620  port-resources
3129   4722688  92554176    37257216    7ffffa70/7fffe400  port
3131   1519616  32584499    25092096    7ffffa80/7ffff530  fdmi
3133   2207744  67661580    32149504    7ffffa70/7fffd1c0  module
3134   1245184  36310630    28061696    7ffffa70/7ffff6f0  qos
3136    700416  38952742    25501696    7ffffa70/7ffff510  tlport
3138  10674176  88607270    39600128    7ffffa70/7fffe7b0  ExceptionLog
3139    847872  40998284    27353088    7ffffa70/7ffff3c0  bootvar
3141   1150976  34431795    26583040    7ffffa80/7fffea20  tcap
3142    786432  39912435    26415104    7ffffa80/7ffff410  vni
3143   4648960  117941049   33476608    7ffffa40/7fffe5b0  fc-redirect
3148  10674176  0           22822912    7ffffa70/1007e540  expl
3149  10674176  0           22822912    7ffffa70/31831950  expl
3150    794624  66245484    25341952    7ffffa60/7ffff430  fc-tunnel
3151    626688  43628217    24653824    7ffffa90/7ffff970  ipacl
3300   4493312  69166451    35741696    7ffffa50/7fffe360  ficon
3426   4182016  54422931    33075200    7ffffa60/7fffe5e0  fcd
3427   1622016  55972224    31092736    7ffffa40/7fffe5d0  ficonstat
3457         0  0           0                  0/0         wdpunch_thread
3498    548864  45685939    21532672    7ffffa20/7ffff880  tcpudp_dummy
3499    622592  37267648    23879680    7ffffa90/7ffff110  mcast
3500    667648  33503641    25210880    7ffffa60/7ffff6b0  fscm
3501    700416  40454937    19349504    7ffffa60/7fffeae0  fcanalyzer
3518    466944  0           2785280     7ffffa00/7ffff690  dhcpd
3519    700416  0           2572288     7ffffa60/7fffec20  rpcapd
3533   1032192  0           14192640    7ffffee0/7ffffd30  ntpd
3557  12271616  0           52510720    7ffffa10/10808980  snmpd
3558  12271616  0           52510720    7ffffa10/310b5bd0  snmpd
3745         0  0           0                  0/0         mts-sync-thr
4506    163840  0           1736704     7ffffd70/7ffffc30  getty
4512    131072  0           2850816     7ffffda0/7fffee50  gettylogin1
4527    163840  0           1736704     7ffffd60/7ffffc20  getty
5856   1384448  0           6594560     7ffffd70/7ffffa00  httpd
13931    983040  0           10133504    7ffffa30/7ffff360  dcos_sshd
13942   1482752  0           34222080    7ffffdb0/7fffa990  vsh
14092         0  0           0                  0/0         df
14093         0  0           0                  0/0         df
14119   1495040  0           35500032    7ffffdb0/7fff9a50  vsh
14120   1310720  0           36335616    7ffffc60/7fff9800  vsh
14194   1310720  0           36491264    7ffffc60/7fff9350  vsh
14195   1015808  0           2695168     7ffffa00/7fffef80  ps
20597   1384448  0           6594560     7ffffd70/7ffffa00  httpd
25481   1384448  0           6594560     7ffffd70/7ffffa00  httpd

All processes: MemAlloc = 390111232

show processes cpu sort

PID    Runtime(ms)  Invoked   uSecs  1Sec    Process
-----  -----------  --------  -----  ------  -----------
    1        90218         0      0    0.0%  init
    2        74283         0      0    0.0%  ksoftirqd/0
    3        35511         0      0    0.0%  desched/0
    4        25124         0      0    0.0%  events/0
    5           27         0      0    0.0%  khelper
   10            0         0      0    0.0%  kthread
   25         2783         0      0    0.0%  kblockd/0
   43            0         0      0    0.0%  khubd
   86            0         0      0    0.0%  pdflush
   87        92603         0      0    0.0%  pdflush
   88            0         0      0    0.0%  kswapd0
   89            0         0      0    0.0%  aio/0
  664            0         0      0    0.0%  exec-osm/0
  996          310         0      0    0.0%  kjournald
1001          236         0      0    0.0%  kjournald
1537        15152         0      0    0.0%  kjournald
1544         4516         0      0    0.0%  kjournald
1559        55055         0      0    0.0%  kjournald
1758            3         0      0    0.0%  portmap
1765         8641         0      0    0.0%  httpd
1769            5         0      0    0.0%  rpc.statd
1786          101         0      0    0.0%  nfsd
1787           45         0      0    0.0%  nfsd
1788           44         0      0    0.0%  nfsd
1789           46         0      0    0.0%  nfsd
1790           45         0      0    0.0%  nfsd
1791           44         0      0    0.0%  nfsd
1792          124         0      0    0.0%  nfsd
1793           83         0      0    0.0%  nfsd
1794            0         0      0    0.0%  lockd
1795            1         0      0    0.0%  rpciod
1800           16         0      0    0.0%  rpc.mountd
1804        51799         0      0    0.0%  sysmgr
2052            0         0      0    0.0%  mping-thread
2104        73599         0      0    0.0%  redun_kthread
2130            0         0      0    0.0%  usd_mts_kthread
2157        88133         0      0    0.0%  ls-notify-mts-t
2251        42659         0      0    0.0%  sdip-mts-thread
2339        94291         0      0    0.0%  kfu_fsm-app-137
2340            0         0      0    0.0%  kfu_mts-app-137
2537           68         0      0    0.0%  tftpd
2538       100358         0      0    0.0%  syslogd
2539         1366         0      0    0.0%  sdwrapd
2542        69867         0      0    0.0%  platform
2596        20527         0      0    0.0%  xbar_driver_usd
2597         8948         0      0    0.0%  babycaesar
2598           49         0      0    0.0%  pfm_dummy
2801           80         0      0    0.0%  klogd
2816         2386         0      0    0.0%  syslogd
2819        70384         0      0    0.0%  syslogd
2829        64772         0      0    0.0%  vshd
2830           97         0      0    0.0%  smm
2831        80792         0      0    0.0%  lmgrd
2832        76979         0      0    0.0%  licmgr
2833         5629         0      0    0.0%  fs-daemon
2834        40068         0      0    0.0%  feature-mgr
2835        73758         0      0    0.0%  fcfwd
2836          243         0      0    0.0%  confcheck
2837        54319         0      0    0.0%  capability
2839        37354         0      0    0.0%  smm
2840        64292         0      0    0.0%  smm:active-time
2842         1614         0      0    0.0%  smm:smm-main-th
2846           63         0      0    0.0%  smm:smm-sysmgr-
2847        72873         0      0    0.0%  clis
2855        34985         0      0    0.0%  cisco
2859        28623         0      0    0.0%  clis
2862          150         0      0    0.0%  clis:clis-cli-t
2863           10         0      0    0.0%  clis:clis-seria
2864          130         0      0    0.0%  clis:clis-nvdb-
2865        10745         0      0    0.0%  wwn
2866        76301         0      0    0.0%  vsan
2867        25571         0      0    0.0%  ttyd
2868         8788         0      0    0.0%  sysinfo
2869        59547         0      0    0.0%  span
2870           68         0      0    0.0%  sksd
2871        75183         0      0    0.0%  sensor_usd
2872        65151         0      0    0.0%  scheduler
2874        56374         0      0    0.0%  plugin
2875        66065         0      0    0.0%  plog_sup
2876           23         0      0    0.0%  pktmgr_dummy
2877        42056         0      0    0.0%  obfl
2878        70789         0      0    0.0%  ntp
2879           21         0      0    0.0%  netstack_dummy
2880        87112         0      0    0.0%  mvsh
2881        85876         0      0    0.0%  memmon
2884           22         0      0    0.0%  ip_dummy
2887       102309         0      0    0.0%  idehsd
2889        68856         0      0    0.0%  fc2d
2890        75066         0      0    0.0%  evms
2891        37428         0      0    0.0%  evmc
2892        71524         0      0    0.0%  dev_log_sup
2893        15156         0      0    0.0%  dcos-xinetd
2894          362         0      0    0.0%  core-dmon
2895        96304         0      0    0.0%  cimserver
2896        53723         0      0    0.0%  bios_daemon
2897        30660         0      0    0.0%  ascii-cfg
2898        27900         0      0    0.0%  arbiter
2899        72919         0      0    0.0%  acl
2900        37371         0      0    0.0%  tacacs
2901        74355         0      0    0.0%  SystemHealth
2902         5049         0      0    0.0%  securityd
2903        27228         0      0    0.0%  cert_enroll
2904        69010         0      0    0.0%  aaa
2905           81         0      0    0.0%  smm:smm-cli-thr
2912        67023         0      0    0.0%  device-alias
2913        23492         0      0    0.0%  fcns
2914        88942         0      0    0.0%  rdl
2915        34626         0      0    0.0%  epp
2916        10250         0      0    0.0%  fcdomain
2917        33676         0      0    0.0%  rib
2918        77669         0      0    0.0%  rlir
2919       101104         0      0    0.0%  rscn
2921        72356         0      0    0.0%  cdp
2922        39974         0      0    0.0%  radius
2923           21         0      0    0.0%  ipv6_dummy
2929        74623         0      0    0.0%  fcc
2930        30664         0      0    0.0%  ohms_sup
2931        20429         0      0    0.0%  ohms_sup
2932        46460         0      0    0.0%  zone
2933       101223         0      0    0.0%  port-channel
2934        59895         0      0    0.0%  scsi-target
2935        28009         0      0    0.0%  flogi
2936        38113         0      0    0.0%  fspf
2938        41546         0      0    0.0%  dstats
2939        90201         0      0    0.0%  fcs
2940        56458         0      0    0.0%  ipfc
2941        17892         0      0    0.0%  fspf
2942            1         0      0    0.0%  fspf
2943            1         0      0    0.0%  fspf
2948        27757         0      0    0.0%  ipconf
2951        86186         0      0    0.0%  cfs
2953        98093         0      0    0.0%  vrrp-eng
2955        70165         0      0    0.0%  port-security
2956        44652         0      0    0.0%  vrrp-cfg
3074        39986         0      0    0.0%  snmpd
3083        40631         0      0    0.0%  callhome
3121        41970         0      0    0.0%  xbar_client
3122        91822         0      0    0.0%  xbar
3125        41409         0      0    0.0%  ethport
3126        49463         0      0    0.0%  port-resources
3129        75366         0      0    0.0%  port
3131        83368         0      0    0.0%  fdmi
3133        74197         0      0    0.0%  module
3134        30786         0      0    0.0%  qos
3136        63614         0      0    0.0%  tlport
3138          195         0      0    0.0%  ExceptionLog
3139        81129         0      0    0.0%  bootvar
3141        45030         0      0    0.0%  tcap
3142        18027         0      0    0.0%  vni
3143        11016         0      0    0.0%  fc-redirect
3148        32166         0      0    0.0%  expl
3149            0         0      0    0.0%  expl
3150        39619         0      0    0.0%  fc-tunnel
3151        16190         0      0    0.0%  ipacl
3300        87171         0      0    0.0%  ficon
3426        80862         0      0    0.0%  fcd
3427        11658         0      0    0.0%  ficonstat
3457        70163         0      0    0.0%  wdpunch_thread
3498           22         0      0    0.0%  tcpudp_dummy
3499       100376         0      0    0.0%  mcast
3500        41656         0      0    0.0%  fscm
3501         2300         0      0    0.0%  fcanalyzer
3518        32337         0      0    0.0%  dhcpd
3519            0         0      0    0.0%  rpcapd
3533        63470         0      0    0.0%  ntpd
3557        22779         0      0    0.0%  snmpd
3558        52765         0      0    0.0%  snmpd
3745        55023         0      0    0.0%  mts-sync-thr
4506           14         0      0    0.0%  getty
4512           14         0      0    0.0%  gettylogin1
4527            9         0      0    0.0%  getty
5856          122         0      0    0.0%  httpd
13931          185         0      0    0.0%  dcos_sshd
13942          185         0      0    0.0%  vsh
14092            3         0      0    0.0%  df
14093            3         0      0    0.0%  df
14094            4         0      0    0.0%  more
14095            2         0      0    0.0%  vsh
14096           45         0      0    0.0%  ps
20597            9         0      0    0.0%  httpd
25481           64         0      0    0.0%  httpd

Thanks

Chetan R

2 Replies 2

Vu Phan
Cisco Employee
Cisco Employee

Hello Chetan,

your switch is normal, no worry.

San OS or NX-OS is linux OS, as you can see below, the used memory is the total of resident memory + cache memory.  Cache memory is resuable, therefore, when the system need memory, it will re-use cache memory.

recr-mds1-9513# sho system resources

Load average:   1 minute: 0.06   5 minutes: 0.03   15 minutes: 0.01

Processes   :   152 total, 1 running

CPU states  :   1.0% user,   0.0% kernel,   99.0% idle

Memory usage:   1029868K total,    585864K used,    444004K free

                   5596K buffers,   40710K cache

In other words total free memory = free+ cached

Review Cisco Networking for a $25 gift card