eddilimp
Enthusiast
Enthusiast

vSphere UI Health Alarm

Hi all,

today I saw a warning in my vCenter:

"vSphere UI Health Alarm"

When I look into the vCenter Appliance Management I can see that there is a warning at the VMware vSphere Client service. It says: "The server is running low on heap memory (>90% utilized.)"

We ware running the vCenter Server Appliance 6.7.0.21000 build 11726888

Can anybody help to solve this?

Thanks a lot.

0 Kudos
8 Replies
DavoudTeimouri
Virtuoso
Virtuoso

Add ore memory to vCenter machine. Also always, choose right size for vCenter server during installation.

-------------------------------------------------------------------------------------
Davoud Teimouri - https://www.teimouri.net - Twitter: @davoud_teimouri Facebook: https://www.facebook.com/teimouri.net/
0 Kudos
eddilimp
Enthusiast
Enthusiast

vCenter Machine has already 16GB memory and only 3GB are used. Should I still add more memory?

Right size was chosen during installation.

0 Kudos
schraudog
Contributor
Contributor

Just wondering if you have ever found a solution for this.  We get this about four times a day, where

vsphere-ui status changed from green to yellow

and then back to green about 30 minutes later.

Any suggestions of where to look?  Thanks,

0 Kudos
Raj1988
Enthusiast
Enthusiast

Increase the heap size for vsphere-client and vsphere-ui by 1 GB .

VMware Knowledge Base  Also works for vcsa 6.7

services names are vsphere-client and vsphere-ui in 6.5 and 6.7   

For VCSA 6.5/6.7 :-

service-control stop vsphere-client

service-control stop vsphere-ui

service-control start vsphere-client

service-control start vsphere-ui

Regards,

AJ

bmstewart
Contributor
Contributor

eddilimp​ did you get this resolved?

We have 3 hosts and about 30 VMs, so we chose "tiny".  Yet I've seen similar warnings about the ui and client memory usage pop up once or twice.

I've also seen VAMI itself report a warning about memory usage (even though the host claims the VCSA is using about 2.5 GB or 10 GB, VAMI thinks it's about 80% of 10 GB).

I'd rather not mess with these settings if it's unnecessary to do so.

0 Kudos
Alex_Romeo
Leadership
Leadership

Hi,

VCSA memory configuration

ARomeo

Blog: https://www.aleadmin.it/
richard_sanchez
Contributor
Contributor

You can find this alarm definition in Vcenter>Configure>Alarmdefinition 

richard_sanchez_0-1653925310494.png

In the alarm configuration, you should turn off email notifications on alarm rule 1 which triggers the notification when the status changes from yellow to green if you consider it´s not critical to receive this mail. If you check the other rules, there is a rule that triggers a notificatión when the status changes from red to green that from my point of view is a critical one.

richard_sanchez_1-1653925310506.png

If you're looking to fix this problem so that you don't turn off any notifications, you have to increase RAM memory on your Vsphere host, in my case Vsphere is located on a virtual machine, so what I do is turn off correctly my Vsphere from the CLI, then add more RAM, the allocated RAM depends on the number of virtual machines running on your host. Check this article https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vcenter.install.doc/GUID-88571D8A-46E1-464D...

richard_sanchez_2-1653925310507.png

Hope it helps.

0 Kudos
Kinnison
Enthusiast
Enthusiast

Hi,

IMHO,

In my experience, over time the amount of RAM required for a good functioning (without reporting errors) of the vCenter object is actually changed from version to version.
So, the so-called "tiny" deployment model is just the bare minimum nowadays, if we want to say it in another way, each one should set the number of vCPUs and the amount of RAM memory according to the peculiarities of their environment.

Regards,
Ferdinando