VMware Cloud Community
andreir
Enthusiast
Enthusiast

vCenter vsphere-client service fails with Java memory error

Hi all,

on the latest vCenter appliance 6.0u3, the vsphere-client failos periodically with java memory errors, causing all web client connections to hang until "service vsphere-client restart" command can be issued manually. Any idea how to raise the Java server memory on VCSA?

From /var/log/vmware/vsphere-client/logs/vsphere_client_virgo.log

[2017-12-02T09:30:48.291-07:00] [INFO ] http-bio-9090-exec-215       70007738 100004 ###### com.vmware.identity.token.impl.SamlTokenImpl                      SAML token for SubjectNameId [value=machine-0dde80a0-95fe-431a-9e34-651a843986dc@vsphere.local, format=http://schemas.xmlsoap.org/claims/UPN] successfully parsed from XML [2017-12-02T09:30:50.700-07:00] [ERROR] http-bio-9090-exec-215        com.vmware.vise.util.concurrent.WorkerThread                      http-bio-9090-exec-215 terminated with exception:  java.lang.OutOfMemoryError: PermGen space [2017-12-02T09:30:50.719-07:00] [INFO ] http-bio-9090-exec-214        com.vmware.identity.token.impl.SamlTokenImpl                      SAML token for SubjectNameId [value=machine-0dde80a0-95fe-431a-9e34-651a843986dc@vsphere.local, format=http://schemas.xmlsoap.org/claims/UPN] successfully parsed from XML [2017-12-02T09:30:52.650-07:00] [ERROR] http-bio-9090-exec-214        com.vmware.vise.util.concurrent.WorkerThread                      http-bio-9090-exec-214 terminated with exception:  java.lang.OutOfMemoryError: PermGen space [2017-12-02T09:31:55.059-07:00] [ERROR] http-bio-9090-exec-216        com.vmware.vise.util.concurrent.WorkerThread                      http-bio-9090-exec-216 terminated with exception:  java.lang.OutOfMemoryError: PermGen space

5 Replies
hussainbte
Expert
Expert

to view the resource utilization check this link:

https://www.virtuallyghetto.com/2015/02/dynamic-memory-resizing-for-vcenter-server-6-0.html \

make sure the inventory size mentioned in the appliance is as per your environment

VMware Knowledge Base

VMware Knowledge Base

If you found my answers useful please consider marking them as Correct OR Helpful Regards, Hussain https://virtualcubes.wordpress.com/
0 Kudos
andreir
Enthusiast
Enthusiast

There must be a memory leak in vsphere-client - I bumped the memory to 5 GB using "cloudvm-ram-size -C 5120 vsphere-client" command and the client still hangs after a couple of hours.

Service-Name            AllocatedMB     MaxMB CurrentMB  Curr-RSS    Cache  MapFiles   MemoryLimit

vsphere-client                 5376      5898      5898      2424     3474        12 8796093022207

TOTAL(RAM=18101MB)            18093     13926     14474      7562     7598       570 8796093022207

0 Kudos
AndyDodsworth
Enthusiast
Enthusiast

I have the exact same issue on 6.0 U3.

Did you find a resolution in the end andreir​?

0 Kudos
andreir
Enthusiast
Enthusiast

Unfortunately I was unable to resolve it with 6.0 version. I had a lot of third-party plugins in the vCenter (this was a lab), I suspect one was leaking memory. My solution was to upgrade to 6.5.

AndyDodsworth
Enthusiast
Enthusiast

I suspected as much.. onwards to 6.5! - thanks Smiley Happy

0 Kudos