Quantcast
Channel: VMware Communities: Message List - VMware I/O Analyzer
Viewing all articles
Browse latest Browse all 614

Re: How to use more than 5 esxi hosts?

$
0
0

Hi,

 

We just recently found there is a bug in our tomcat5.5 startup script, which overrides JVM heap size to only 128M. This should in fact be the root cause of many out of memory issue.

To run with 5+ hosts, please increase JVM heap size for tomcat5.5 to 1.6G by the following:

  1. Please login to appliance
  2. Edit file "/etc/init.d/tomcat5.5"
  3. Replace line 95 from
    JAVA_OPTS="-Djava.awt.headless=true -Xmx128M"
    to
    JAVA_OPTS="-Djava.awt.headless=true -Xms1638M -Xmx1638M"
  4. Save the change
  5. Restart tomcat 5.5 by doing
    `/etc/init.d/tomcat5.5 restart`

 

After doing the above steps, tomcat 5.5 should set JVM heap size to 1.6G, which in our testing is enough to support 10+ hosts with 256+ VMs.

Please ignore the "5+ hosts" warning once you have done so.

 

If you'd like to suppress the "5+ hosts" warning after applying the above change, please simply login to appliance and do `touch /var/lib/tomcat6`. This should temporary work around the frontend check.

 

Please let us know if you run into "out of memory" issue after you do so.

 

We're working on our next release, which will increase default JVM heap size to 1.6G and we'll document steps to adjust it. Sorry for the inconvenience.

 

Thanks,

Chien-Chia


Viewing all articles
Browse latest Browse all 614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>