Expert
Expert

VCSA 6.0 Memory Management - increase limit with cloudvm-ram-size

I're recently checked the memory usage of my vcsa an noticed, that in some cases the MaxMB value surpasses AllocatedMB by a large extent:

Service-Name        AllocatedMB MaxMB CurrentMB  Curr-RSSCache  MapFiles   MemoryLimit
LinuxKernel                  -1     0    38     7   31     9 8796093022207
OS                         1279  4203   146    83   62     6 8796093022207
applmgmt                    237    21     0     0    0     0 8796093022207
vmafdd                       40     7     5     5    0     0 8796093022207
vmcad                       224     0     0     0    0     0 8796093022207
vmdird                        0     0     0     0    0     0 8796093022207
vmware-cis-license            0     0     0     0    0     0 8796093022207
vmware-cm                   224   237   196   190    5     4 8796093022207
vmware-eam                  160   182   181   180    0     0 8796093022207
vmware-invsvc              6472 13513 10243  6760 3482     0 8796093022207
vmware-mbcs                 128     2     0     0    0     0 8796093022207
vmware-netdumper             20     1     0     0    0     0 8796093022207
vmware-perfcharts           860   309   275   270    4     0 8796093022207
vmware-rbd-watchdog         100     1     0     0    0     0 8796093022207
vmware-rhttpproxy            76    24    23    20    3     1 8796093022207
vmware-sca                  128   329   273   247   26     0 8796093022207
vmware-sps                 1599   501   250   247    3     0 8796093022207
vmware-sts-idmd             386     0     0     0    0     0 8796093022207
vmware-stsd                 562     0     0     0    0     0 8796093022207
vmware-syslog-health         96    92    86    72   13     0 8796093022207
vmware-vapi-endpoint        160   390   323   317    6     0 8796093022207
vmware-vdcs                1120   917   674   655   19     0 8796093022207
vmware-vpostgres           2058  4995  3940   253 3686  1084 8796093022207
vmware-vpx-workflow         214   264   247   247    0     0 8796093022207
vmware-vpxd                6231  2410  2203  1949  253    42 8796093022207
vmware-vsan-health          106   560     0     0    0     0 8796093022207
vmware-vsm                  160   215   191   190    0     0 8796093022207
vmware-vws                   42   524   261   217   43     7 8796093022207
vsphere-client             1472  2523  1259  1228   31     0 8796093022207
TOTAL(RAM=24161MB)        24154 23120 20823 13144 7698  1162 8796093022207

What would be the best course of action? Overall, the memory usage is not reaching the limit (~21GB CurrentMB vs ~24GB allocated), but I think some of the services (invsvc, vsphere-client) do not get enough memory. Should I increase the total amount fo RAM and increase the allocations by hand? What is the reason behind MaxMB > AllocatedMB, is AllocatedMB just a reservation? How is MaxMB calculated?

0 Kudos
1 Reply
Expert
Expert

Ok, so I've increased the physical vm memory to meet demand (MaxMB) some time ago and so far it works fine - without adjusting the AllocatedMB values, that is, without manually assigning more RAM to the affected services. The AllocatedMB vs. MaxMB\CurrentMB still differ greatly, but after consulting with GSS I've been informed, that this is the recommended way to do it.

Still, no idea what caused the massive increase in memory usage:(

 

Service-NameAllocatedMBMaxMBCurrentMBCurr-RSSCacheMapFiles
LinuxKernel-109001588420
OS2209160984454121433310
applmgmt43921101000
vmafdd7010000
vmcad22400000
vmdird000000
vmware-cis-license000000
vmware-cm2242512331914114
vmware-eam16021020820352
vmware-invsvc144641787614411900654054
vmware-mbcs12820000
vmware-netdumper2010000
vmware-perfcharts1701367364339250
vmware-rbd-watchdog10010000
vmware-rhttpproxy152353318153
vmware-sca1285155072662411
vmware-sps3469482417405112
vmware-sts-idmd48300000
vmware-stsd91700000
vmware-syslog-health96270268791882
vmware-vapi-endpoint160439359342173
vmware-vdcs163711429948721210
vmware-vpostgres43261329012792169126222205
vmware-vpx-workflow21427023523042
vmware-vpxd142453794368022801399110
vmware-vsan-health1165899090
vmware-vsm16021220119642
vmware-vws424507553210
vsphere-client25072313209819231748
TOTAL(RAM=48398MB)48391464264225916733264032408
0 Kudos