VirtuallyUseful – Random Tech Babble

January 22, 2012

Limiting vCenter Tomcat Usage

Filed under: vCenter, VMware — Tags: , , — Ray Olander @ 1:33 PM

Information obtained from from http://www.virtualserverguy.com/blog/2011/2/11/limiting-vcenter-tomcat-usage.html

LIMITING VCENTER TOMCAT USAGE

Here is how to limit the memory usage for VMware’s vCenter…

First vCenter relies on a customized Apache Tomcat to run its vCenter product (mostly graphs, Web Interface and other items), while limiting the memory hasn’t proven to have a negative effect this procedure should be done with caution. This can cause slowness in portions of the application since it will no longer be able to store large amounts of data in RAM and will have to access the database for this information.

1. Open Regedit on the vCenter server

2. Navigate to: HKLM\Software\Wow6432Node\Apache Software Foundation\Procrun 2.0\vctomcat\Paramaters\Java

3. Change JvmMS, JvmMX and JvmSs to ‘0’

4. Restart the VMware vCenter WebAccess Service in Windows and enjoy a smaller footprint of the Tomcat process.  The average RAM usage for Tomcat after this change should be around 256MB (plus or minus the amount of VM’s being managed).

Note: This procedure should only be done in test or small environments

###

My experience is that when I did this in my lab, memory usage went from 1.2GB to 170MB (3 ESXi hosts and 1 vCenter server). That’s a lot of savings when you only have a small amount of memory available to start with!

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: