High CVM Memory Usage in Prism


Badge +10
Getting some high memory alerts on one of our cvms. Can I just power it off and increase the memory on the cvm or is there something special that needs to be done?
Thanks,
Erik

6 replies

Userlevel 4
Badge +20
Yep, after you boot the CVM up, wait till cluster status returns to ok on ALL the nodes before moving on. If it's AHV, here's a post that goes through the commands.

https://www.linkedin.com/pulse/how-increase-controller-vm-memory-nutanix-community-edition-d-andrea

Or if you want to do it via script...

http://vcdx56.com/2017/02/change-ahv-based-nutanix-controller-virtual-machine-cvm-ram/




Userlevel 3
Badge +19
Hi,
There is no specific procedure unless u r running AHV, but I will recommend to go through CVM memory best practise based on AOS version and features enabled.

F.P
Userlevel 4
Badge +17
elarson have you try reboot the affected CVM and see the memory utilization ?
Badge +7
Memory utilization is still high even with 32 GB Memory
Userlevel 3
Badge +10
What version of AOS and hypervisor are you running?

Please run the following on the CVM and post results.

# cat /proc/meminfo


Badge +7
Appreciate your response below is in the input
MemTotal: 32948044 kB
MemFree: 1640184 kB
MemAvailable: 12659008 kB
Buffers: 2821172 kB
Cached: 9114980 kB
SwapCached: 0 kB
Active: 24823868 kB
Inactive: 5258840 kB
Active(anon): 18146708 kB
Inactive(anon): 1672 kB
Active(file): 6677160 kB
Inactive(file): 5257168 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 360 kB
Writeback: 0 kB
AnonPages: 18146948 kB
Mapped: 596584 kB
Shmem: 1816 kB
Slab: 848520 kB
SReclaimable: 728940 kB
SUnreclaim: 119580 kB
KernelStack: 18592 kB
PageTables: 73392 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 16474020 kB
Committed_AS: 21293832 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 187420 kB
VmallocChunk: 34359449500 kB
HardwareCorrupted: 0 kB
AnonHugePages: 15556608 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 100224 kB
DirectMap2M: 5142528 kB
DirectMap1G: 30408704 kB

Reply