This section describes the tuning you can perform on Web Server to enhance performance.
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="https-siroe.com" connections="ls1" mime="mime1"aclids="acl1" urlhosts="<webserver hostname"acceptorthreads="<noofcpus\>" \> |
Add or set the following JVM options in the server.xml file of Web Server.
The following two parameters determine the heap size of JVM
JVMOPTIONS-Xms(approx value according to the memory available)/JVMOPTIONS
JVMOPTIONS-Xmx(approx value according to the memory available)/JVMOPTIONS
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
JVMOPTIONS -server /JVMOPTIONS
Set the following parameters for garbage Collection
JVMOPTIONS-XX:+UseParNewGC/ JVMOPTIONS
JVMOPTIONS-XX:ParallelGCThreads= number-of-CPUs/JVMOPTIONS
JVMOPTIONS-XX:+UseConcMarkSweepGC/ JVMOPTIONS