Sets file cache parameters. This file is present only if file cache parameters have been changed from their defaults.
server_root/https-admserv/config
parameter=value
Sun Java System Web Server 6.1 SP9 Performance Tuning, Sizing, and Scaling Guide
The following table describes properties in the nsfc.conf file. The left column lists the property names. The second column from the left lists allowed values. The third column from the left lists default values. The right column lists property descriptions.
Table 6–4 nsfc.conf Properties
Attribute |
Allowed Values |
Default Value |
Description |
---|---|---|---|
on, off |
on |
Enables the file cache. |
|
on, off |
on |
Enables caching of file contents, as well as file information for files smaller than MediumFileSizeLimit (smaller than SmallFileSizeLimit if TransmitFile is on). |
|
Number of seconds |
30 |
The maximum age of a valid cache entry. This setting controls how long cached information is used once a file has been cached. An entry older than MaxAge is replaced by a new entry for the same file. |
|
Limited by available memory |
537600 (525K) |
(UNIX only) Maximum size of a file that can be cached as a memory-mapped file (if TransmitFile is off). |
|
Limited by available memory |
10485760(10 M) |
Total size of all files that are cached as memory-mapped files (if TransmitFile is off). |
|
Limited by available memory |
2048 (2K) |
(UNIX only) Maximum size of a file that can be read into memory. |
|
Limited by available memory |
1048576 (UNIX, 1 M), 0 (Windows) |
Total size of all files that are read into memory. |
|
on, off |
on (Windows), off (UNIX) |
Enables use of the TransmitFile system call. Not supported on IRIX, Compaq, Solaris, or Linux. |
|
1024 |
Maximum number of files in the file cache. |
||
Limited by available memory |
0 |
Initial number of hash buckets. If 0, the number of hash buckets is dynamically determined as 2 * MaxFiles + 1. |
|
on, off |
on |
(Windows only) Prevents sharing violations by copying files to a temporary directory. |
|
path |
<TempDir>/<server_id>-file-cache |
Specifies a temporary directory for the file cache if CopyFiles is on. <TempDir> is the value of TempDir in the magnus.conf file. See TempDir <server_id> is the server instance id. |