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-RSS | Cache 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?