Previous Topic: Control How Long Resource Enteries Remain Cached

Next Topic: Disable the Resource Cache

Set the Maximum Resource Cache Size

You can set a maximum on the number of resource cache entries, such as Web pages, that the Web Agent tracks with the following parameter:

MaxResourceCacheSize

Specifies the maximum number of entries that the Web Agent keeps in its resource cache. An entry contains the following information:

When the maximum is reached, new resource records replace the oldest resource records.

If you set this value to a high number, be sure that sufficient system memory is available.

If you are viewing Web Agent statistics using the OneView Monitor, you may notice that the value shown for the ResourceCacheCount is greater than the value you specified for the MaxResourceCacheSize parameter. This is not an error. The Web Agent uses the MaxResourceCacheSize parameter as a guideline and the values may at times differ because the MaxResourceCacheSize parameter represents the maximum number of average-sized entries in the resource cache. The actual cache entries are most likely larger or smaller than the pre-determined average size; therefore, the effective maximum number of entries may be more or less than the value specified.

Note: For Web Agents that use shared memory, such as the framework Agents, the cache is pre-allocated to a constant size based on the MaxResourceCacheSize value and will not grow.

Default: (Domino web servers) 1000

Default: (IIS and Sun Java System web servers) 700

Default: (Apache web servers) 750

To set the maximum resource cache size

  1. Set the value of the MaxResourceCacheSize parameter to the maximum number of resources you want.
  2. For framework agents, you must restart the web server to apply the change.

    The maximum resource cache size is changed.