Description:
Depending on the 2 ACO parameter (MaxResourceCacheSize, MaxSessionCacheSize) the agent cache size will vary, it can be interesting to know what is the memory used by the Webagent cache.
The session cache is used for both authentication and authorization.
Ressource Cache:
Stores results of IsProtected () for a resource. Reduces the number of calls to the Policy Server when the same resource is being accessed.
Session Cache:
Solution:
Amount of RAM used by one entry on each on this cache (MaxResourceCacheSize & MaxSessionCacheSize):
The value for sizeof(void*) is OS dependant (memory address size). On Solaris Sparc 9 the value is 4.
Following is an example program (test) to determine the sizeof(void*) .
#include <stdio.h> main() { printf ("sizeof(void *) = %d\n", sizeof(void*)); }