Sun Java System Web Proxy Server 4.0.3 2006Q2 Administration Guide

Managing Cache Garbage Collection

The cachegc utility allows you to clean up the cache database of objects may have expired or are too old to be cached in the directory due to cache size constraints.


Note –

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