vSphere 6.0/6.5 web client crashing

1

So – a fun issue I’ve run into a ton of times:

You browse to your vSphere instance to login and do some work, your greated by the splash screen:

And then when you click the “Login to vSphere web client” link, you get a white screen that never refreshes.

If a restart of the “vsphere-client” service fixes your issue, you may be running into a Java Heap size issue. On a few of the vcenters I manage I found out that the web service was allocated reasonable small amounts of RAM, increasing the amount of RAM (by 2x) for me seemed to fix the problem. Some useful commands:

  1. Restarting the vsphere-client :
    1. service-control –list (Lists all services)
    2. service-control –stop vsphere-client
    3. service-control –start vsphere-client
  2. Checking heap (Java ram allocation) size:
    1. cloudvm-ram-size -l
  3. Changing the allocated size:
    1. cloudvm-ram-size -C XXXX vsphere-client
    2. xxxx being size in MB

Example :
1. Stop the service : service-control –stop vsphere-client
2. Changing mem size to 16GB : cloudvm-ram-size -C 16384 vsphere-client
3. Starting the service : service-control –start vsphere-client

Supporting KB from VMWare.com
https://kb.vmware.com/s/article/2150757?lang=en_US

1 thought on “vSphere 6.0/6.5 web client crashing

  1. Some more info – I have found that if you use backup routines that beat up vcenter (tons of connections to your vcenter server a minute, the web service kinda freaks out… #CommVault

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.