To optimize Viewpoint's performance, perform the following steps that are related to your operating system:
To enhance Viewpoint's performance on an Ubuntu Linux operating system
/usr/share/tomcat6/bin/setenv.sh
#Options for Tomcat server
export JAVA_OPTS="-Xmx4g -XX:MaxPermSize=4g"
/usr/share/tomcat6/conf/server.xml
#Modify the number of threads for the connector
<Connector port=#8080" protocol="HTTP/1.1"
connectionTimout="20000"
URIEncoding="UTF-8"
maxThreads="300"
redirectPort="8443" />
edit the /etc/init.d/tomcat6 file
#Set ulimit, set number of open file handles to 2048
ulimit -n 2048
To enhance Viewpoint's performance on a CentOS or RHEL operating system
cd /usr/share/tomcat6/bin/
touch setenv.sh
edit setenv.sh
#Options for Tomcat server
export JAVA_OPTS="-Xmx4g"
chmod +x setenv.sh
chown root:tomcat setenv.sh
/etc/tomcat6/server.xml
#Modify the number of threads for the connector
<Connector port=#8080" protocol="HTTP/1.1"
connectionTimout="20000"
maxThreads="300"
redirectPort="8443" />
edit the /etc/init.d/tomcat6 file
#Set ulimit, set number of open file handles to 2048
ulimit -n 2048
Related topics