The cachegc utility enables you to remove objects from the cache database that might have expired or are too old to be cached due to cache size constraints.
Ensure that the CacheGC is not running in the proxy instance when the cachegc utility is used.
The cachegc utility can be used in the following way:
cachegc -f leave-fs-full-percent -u gc-high-margin-percent -l gc-low-margin-percent -e extra-margin-percent -d conf-dir
For example:
cachegc -f 50 -u 80 -l 60 -e 5 -d server-root/proxy-serverid/config
where
leave-fs-full-percent determines the percentage of the cache partition size below which garbage collection will not go
gc-high-margin-percent controls the percentage of the maximum cache size that, when reached, triggers garbage collection
gc-low-margin-percent controls the percentage of the maximum cache size that the garbage collector targets
extra-margin-percent is used by the garbage collector to determine the fraction of the cache to remove.
conf-dir is the configuration directory of the proxy instance located in the server-root/proxy-serverid/config directory.