VMware vCenter 6 Web Console doesn’t load or very slow


Environment

VMware vCenter 6.0.0 Build 4541948 (Update 2a) – could effect other vCenter versions also.

Issue:

After a period of a week or more the vCenter Web Console slows down dramatically to the point where the website doesn’t load anymore and the browser times out.

Looking into the /var/log/vmware/vsphere-client/logs/vsphere-client-virgo.log file you it displays the following Out Of Memory error:

Run: less vsphere-client-virgo.log

vmware_outofmemory

“[2017-03-15T13:59:07.853+13:00] [ERROR] ing.timer.TimerFactoryBean#0 o.s.scheduling.timer.MethodInvokingTimerTaskFactoryBean Invocation of method ‘update’ on target class [class com.vmware.vise.vim.cm.healthstatus. HealthStatusUpdater] failed java.lang.OutOfMemoryError: PermGen space”

Solution:

  1. (Workaround) Reboot the vCenter, according to VMware Support you should reboot it often to ensure the vCenter doesn’t run out of memory.
  2. (Permanent fix) Increase the memory size for vspherewebclientsvc in the service-layout.mfx file from 256 to 512.
    1. Use WinSCP to connect to vCenter Server
    2. Browse to and edit: /etc/vmware/service-layout.mfx
    3. Find the line with the firstboot_name ngc_firstboot
    4. Under the column ‘MaxPermMB’ change the value from 256 to 512
    5. Save service-layout.mfx file
    6. SSH to vCenter Server
    7. Run: /etc/init.d/service vsphere-client restart
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: