Sun Java System Web Proxy Server 4.0.2 2005Q4 Configuration File Reference

PARTITION

Configures the storage area on a disk that you set aside for caching. If you wish to have your cache span several disks, you need to configure at least one cache partition for each disk. Each partition can be independently administered. In other words, you can enable, disable, and configure a partition independently of all other partitions.

Subelements

The following table describes subelements for the PARTITION element.

Table 2–25 CACHE subelements

Element  

Required  

Description  

DESCRIPTION

zero or one 

Contains a text description of this element. 

Attributes

The following table describes attributes for the PARTITION element.

Table 2–26 CACHE attributes

Attribute  

Default  

Description  

enabled

true 

Select this option, if not already selected. 

partitiondir

<Install_Root>/<Instance_Directory>/cache

Specify the directory where the partition is to be created. 

partitionname

part1 

Specify a name for the partition. 

maxsize

1600MB 

The optional number for the maximum size, in megabytes, to allow for the cache partition to grow. 

minspace

5MB 

The minimum amount of available space, in megabytes, on the physical partition. This is the actual disk on which the cache partition resides. If less space is available, the proxy stops caching to that cache partition, even if it has not reached the maximum size (max-size). It continues to write to other partitions that are not full.