Sun Java System Web Proxy Server 4.0.8 管理指南

管理高速缓存垃圾收集

通过 cachegc 实用程序,您可以将可能已过期或因存在时间过久而不能高速缓存(由于受到高速缓存大小约束)的对象从高速缓存数据库删除。


注 –

请确保在使用 cachegc 实用程序时,代理服务器实例中没有运行 CacheGC。


可以按以下方式使用 cachegc 实用程序:

cachegc -f leave-fs-full-percent -u gc-high-margin-percent -l gc-low-margin-percent -e 
	extra-margin-percent -d conf-dir

例如:

cachegc -f 50 -u 80 -l 60 -e 5 -d server-root/proxy-serverid/config

其中,