iTP Secure WebServer System Administrators Guide (Version 7.5+)

Examples
MaxConnections count 101 replytype customized
Consider the above scenario, where Numstatic is 5 and maximum connections required is 101.
The iTP Secure WebServer would serve 105 requests (higher multiple of Numstatic nearest to the
count value). Here, 106th request will display the error message, "Maximum connections reached:
The server reached its maximum configured capacity.", with response code, '200 OK'.
MaxConnections count 100 replytype customized
Consider the above scenario, where Numstatic is 5 and maximum connections required is 100
(proper multiple of configured server, that is, Numstatic). The 101th request will display the
customized or RST packet as specified with the -replytype argument.
To customize the error message, create the new message id error-maximum-connection.
The customized message will be displayed if Message configuration directive is used in the
httpd.config file along the newly created message id.
NOTE: The values of Numstatic and MaxServers of the httpd process must be equal.
MaxFileCacheContentSize
Syntax
MaxFileCacheContentSize <num_kilobytes>
where [num_kilobytes] specifies the number of kilobytes (KB), where 1 KB equals 1024 bytes.
Description
Use the MaxFileCacheContentSize directive to specify the maximum file content length allowed in
a file cache entry. When this directive is present in a configuration file, files with a content length
less than or equal to [num_kilobytes] are cached entirely in the server's file cache. For files with a
content length greater than [num_kilobytes], only file opens and file stats are cached. The actual
file content is accessed directly from disk.
MaxFileCacheContentSize accepts a value from 0 (zero) to 50KB (50 x 1024 bytes). Specifying
a value of 0 (zero) in the MaxFileCacheContentSize directive disables file content caching.
Default
When no MaxFileCacheContentSize directive is present, the server assumes a value of 10 (10KB).
Example
MaxFileCacheContentSize 30
Both MaxFileCacheEntries and MaxFileCacheContentSize determine the maximum file cache size.
For example, if MaxFileCacheEntries is set to 3000 and MaxFileCacheContentSize is set to 30,
and then the maximum capacity for the file cache is 90MB. HP recommends a survey of all static
files residing on the website in addition to the physical memory configuration. Performance might
be hindered if the iTP Secure WebServer consumes too much physical memory and causes a high
number of page faults. A tuning process might be required to determine optimal settings for these
directives.
MaxFileCacheEntries
Syntax
MaxFileCacheEntries <num_entries>
Description
Use the MaxFileCacheEntries directive to specify the maximum number of entries allowed in the
file cache where the server stores file opens, file stats, and actual file contents.
220 Configuration Directives