iTP Secure WebServer System Administrator's Guide (Version 7.0)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—523346-012
A-32
MaxFileCacheContentSize
Numstatic nearest to the count value). Here, 106
th
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 101
th
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.
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
Note. The values of Numstatic and MaxServers of the httpd process must be equal.