iTP Secure WebServer System Administrators Guide (Version 7.5+)

The default configuration of the iTP Secure WebServer has been changed to take advantage of
the file caching enhancement. If file caching is not enabled, the iTP Secure WebServer performs
as in previous releases.
However, users might choose not to use file caching because of its increased memory consumption.
With the default configuration, up to 20MB bytes of additional memory might be used.
A shell script, named vcache, is available in the /conf directory to validate the cache entries in
all the httpd servers. This script causes the HTTPD to verify its cached information, ensuring current
file content is provided to clients. However, the process of validating cache entries walks through
the entire cache table and might temporarily consume system resources. Therefore, file updates
should be conducted during off-peak hours.
Syntax:
./vcache [userid][server-name]
userid if specified, is the id of the owner of httpd process else username of current logon session.
The following are the five other configuration directives that you can use to handle file caching:
server-name is the serverclass name of httpd. When httpd serverclass is configured with
user configurable names, this option can be used with vcache to specify the name. This argument
is optional and when not used the default value is httpd.
FileStatsCheckTime
Syntax:FileStatsCheckTime <minutes>
Description:
Use the FileStatsCheckTime directive to specify the interval for file stats information (information
about a file retrieved via a call to fstat) refreshing. In other words, the cached file stats are used
during the period specified by FileStatsCheckTime. If a file update is performed during this
interval, the timestamp and file contents in the response might not be up to date. Therefore, use
this directive with caution.
FileStatsCheckTime accepts a value from -1 to 600 minutes (10 hours). Specifying a value
of -1 disables checking. Specifying a value of 0 (zero) causes a check to be performed every time
the file is requested. With this setting, the timestamp and file contents returned by the iTP Secure
WebServer will always be current.
NOTE: If disk files are not frequently updated, HP recommends that you use the value of -1, and
use the vcache script after files are updated.
Default:
When no FileStatsCheckTime directive is present, the value of 60 (one hour) will be used.
Example:
FileStatsCheckTime 120
CacheTime
Syntax:CacheTime <minutes>
Description:
Use the CacheTime directive to specify the time (in minutes) during which the server caches file
opens, file stats, or actual file contents. When this directive is present in a configuration file, files
accessed by the iTP Secure WebServer stay in memory for the time specified in the CacheTime
directive.
CacheTime accepts a value from 0 (zero) to 600 (10 hours). Specifying a value of 0 (zero) in
the CacheTime directive disables file caching.
Default:
106 Configuring the iTP Secure WebServer