Sun Java System Web Server 6.1 SP11 Performance Tuning, Sizing, and Scaling Guide

Using the Solaris Network Cache and Accelerator (SNCA)

The Solaris Network Cache and Accelerator (SNCA) is a caching server that provides improved web performance to the Solaris operating system. It is available on Solaris 8 Update 5 and higher.

It is assumed that SNCA has been configured for the system on which the Web Server is running. For more information about SNCA and its configuration and tuning, refer to the following man pages on your system:

Enable SNCA to work with Sun Java System Web Server (assuming SNCA configuration, as discussed above)

ProcedureTo enable SNCA to work with Sun Java System Web Server

  1. Edit the Sun Java System Web Server server.xml file so the listen socket on port 80 includes family="nca" as shown below (the server must be listening on port 80 for this to work):

    <LS id="ls1" ip="0.0.0.0" port="80" family="nca" security="off" acceptorthreads="1">

  2. Edit the Sun Java System Web Server nsfc.conf file and set the following:

    CacheFileContent=falseTransmitFile=true

  3. Restart the Web Server for changes to take effect.

RqThrottle and ConnQueueSize

When configuring Sun Java System Web Server to be used with SNCA, setting the RqThrottle and ConnQueueSize parameters in magnus.conf to 0 provides better performance. Because SNCA manages the client connections, it is not necessary to set these parameters. These parameters can also be set to 0 with non-SNCA configurations, especially for cases in which short latency responses with no keep-alives must be delivered..


Note –

RqThrottle and ConnQueueSize must both be set to 0.


For more information about RqThrottle and ConnQueueSize, see the chapter pertaining to magnus.conf in the Sun Java System Web Server 6.1 SP11 Administrator’s Configuration File Reference. Also consult the RqThrottle and ConnQueueSize entries in the index in this book.