000020477 - What is the type of values for the parameters call_cache.size and cookie_cache.size in webagent.conf?

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 22, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000020477
Applies ToRSA ClearTrust Agent 3.5 for Apache 1.3.x
Red Hat Linux 7.3
cleartrust.agent.call_cache.size
cleartrust.agent.cookie_cache.size
IssueWhat is the type of values for the parameters call_cache.size and cookie_cache.size in webagent.conf?
The webagent.conf or the ClearTrust 3.5 Agent for Apache 1.3.x Installation & Configuration Guide does not mention the type of values for the following two parameters (shown here with the default values):

cleartrust.agent.call_cache.size=128
cleartrust.agent.cookie_cache.size=2000

It is unclear whether the above values indicate bytes, kilobytes, or number of cache entries.
ResolutionBoth "cleartrust.agent.call_cache.size" and "cleartrust.agent.cookie_cache.size" are measured in numbers of cache entries of the corresponding cache. For example, if it's set as follows:

cleartrust.agent.cookie_cache.size=128

that means up to 128 decrypted cookies can be stored in cache.

Additionally, the existing comments in the webagent.conf file gives the approximate number of bytes that each cache entry requires. Here is an excerpt from the webagent.conf for the "cleartrust.agent.cookie_cache.size" parameter:

        # Sets the cookie cache size. Cookies issued to the client browser can be
        # cached in unencrypted form by the Agent for better performance, at the
        # cost of higher memory usage. This cache is per process. Each cached cookie
        # requires about 250 bytes.
        #
        # Allowed Values:
        #   A valid integer. Setting to 0 will disable the cache.
        #
        # Default Value:  128
        #
        cleartrust.agent.cookie_cache.size=128
Legacy Article IDa16872

Attachments

    Outcomes