Installing/upgrading Viewpoint > Enhancing Viewpoint performance

1.1 Enhancing Viewpoint performance

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

  1. Set JAVA_OPTS.
  2. /usr/share/tomcat6/bin/setenv.sh

    #Options for Tomcat server

    export JAVA_OPTS="-Xmx4g -XX:MaxPermSize=4g"

  3. Set MaxThreads.
  4. /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" />

  5. Increase the number of open file handles to 2048.
  6. 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

  1. Set JAVA_OPTS.
  2. 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

  3. Set MaxThreads.
  4. /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" />

  5. Increase the number of open file handles to 2048.
  6. edit the /etc/init.d/tomcat6 file

    #Set ulimit, set number of open file handles to 2048

    ulimit -n 2048

Related topics