Automatically Removing Entries from the Participant Cache
You can add the following properties to the wt.properties file to automatically remove participant cache entries:
• The wt.principal.cache.timeToLive property defines the amount of time that any given participant cache entry is available from the cache. Specify the property value in seconds. If the property value is not set or is zero or less than zero, then cache entries are not automatically removed from the cache. Out of the box, this property is not set.
• The wt.principal.cache.timeToLiveRandomizer property adds a random amount of time to the time stamp of each cache entry so that a large number of entries do not expire at the same time. Specify the property value in seconds. If the property is not set, the value defaults to 600 seconds (10 minutes). If the property is set to zero or less than zero, then no random value is added to the time stamp of each cache entry. Out of the box, this property is not set.
For example, to set the time to live to 3600 seconds and the random amount of time to 100 seconds, enter the following command from a windchill shell:
xconfmanager -s wt.principal.cache.timeToLive=3600
-s wt.principal.cache.timeToLiveRandomizer=100
-t <Windchill>/codebase/wt.properties -p
where <Windchill> is the installation directory for Windchill.
When a valid value is specified, the random amount added to the time stamp varies between 1 second and the property value. For example, if the property value is 600 seconds (10 minutes), a value between 1 second and 10 minutes is added to the time stamp of a cache entry when the entry is added to the cache.