Author Message
DanielMustafa
Joined: Dec 23, 2013
Messages: 13
Offline
To anyone running Tomcat 6 on Windows servers to run your OD 6 apps, what optimizations or configurations have you made on the app server to ensure efficiency?

WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
One thing you have to remember is an OD app is no more than a servlet based web application which generates vxml to interact with the voice browser in the platform. So there are already a lot of advises out there on the internet on how to configure Tomcat in respect to your hardware. The most important properties I've found over the years is -xmx, -xms, -threadstacksize. Thread stack size can be small 256 or 512, and xmx should be half of your physical memory. In our doc, we recommend this for a machine with 2G memory:

export JAVA_OPTS = “-server -Xmx1024m -XX:MaxNewSize=30m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC-XX:CMSInitiatingOccupancyFraction=60 –
XX:ThreadStackSize=512”

This by no mean fits everybody's environment. You really need to do your own performance test with monitor like JConsole in order to tune the system if you have any concern.
Go to:   
Mobile view