Sun Java System Communications Express 6.3 Administration Guide

Tuning Web Server

To enhance the Web Server's performance, perform the steps described in this section.

Setting The Value of acceptorthreads

In server.xml, change the value of the attribute acceptorthreads present in <vs\> (virtual server) element to the number of CPUs on the machine hosting Web Server.

For example:

<VS id="" 
				urlhosts="<webserver hostname"
							acceptorthreads="<noofcpus\>" \>


Setting JVM Options

Add or set the following JVM options in the server.xml file of Web Server.

The following parameters determine the heap size of JVM

The first option indicates Maximum heap size and the second option indicates Minimum heap size

It is recommended to have the same values for both the options.

Add the following JVM option


Set the following parameters for garbage Collection