14
WEBSPHERE PORTAL V6.1 TUNING GUIDE
C A C H E M A N A G E R S E R V I C E
The cache manager service in WebSphere Portal is used to cache a wide variety of types of
information in memory. These caches are somewhat similar to the registries maintained by
the registry service, as each type of information gets its own cache. The key differences are:
The information stored in the cache manager service’s caches tends to be more
dynamic than the information stored in the registry service’s registries.
The caches used by the cache manager service are limited in size, and entries will
be discarded when the caches become full. The registries used by the registry
service are not size-limited; they contain all entries of the specific data type.
Expiry times are managed individually for each entry in the cache, managed by the
cache manager service. In contrast, when the reload time is reached for a registry,
the entire contents of that registry are reloaded.
Each cache has several configurable options. A full discussion of these options, along with a
list of the caches in WebSphere Portal V6.1, is given in chapter 2. Table 5 lists the changes
which we made to the cache manager service configuration file. Size values are specified in
“number of objects” and lifetime values are specified in “seconds”.
Table 6: Cache Manager Service Settings
CacheManagerService.properties
Cache Name
Default Value Value Used
com.ibm.wps.model.factory.ContentModelCache.live.size 1000 2500
com.ibm.wps.ac.ExplicitEntitlements Cache.USER_GROUP.size 1000 2000
com.ibm.wps.model.factory.Navigation
SelectionModelCache.live.size
1000 2500
com.ibm.wps.ac.OwnedResourcesCache.enabled true false
com.ibm.wps.ac.ProtectedResourceCache.lifetime 5000 14400
com.ibm.wps.datastore.services.Identification.SerializedOidString
Cache.size
2500 5000
com.ibm.wps.puma.DN_OID_Cache.size 500 5000
com.ibm.wps.puma.DN_User_Cache.size 500 3000
com.ibm.wps.puma.DN_Group_Cache.size 500 1500
com.ibm.wps.puma.OID_DN_Cache.size 1500 3000
com.ibm.wps.puma.OID_User_Cache.size 1500 3000
com.ibm.wps.puma.OID_Group_Cache.size 1500 5000
com.ibm.wps.ac.groupmanagement.NestedGroupCache.enabled true False
com.ibm.wps.ac.RolesCache.enabled true False
com.ibm.wps.ac.ChildResourcesCache.lifetime 7200 28800
com.ibm.wps.policy.services.PolicyCacheManager.lifetime 7780 43200