Re: [squid-users] How to delete cache files of some days ago?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 27 Dec 2006 19:35:13 +0100

tis 2006-12-26 klockan 14:59 +0800 skrev Jm lists:

> The size of cache_dir increase quickly and when it reach to
> cache_swap_low,Squid begin to swap datas from disk,then Squid begin to
> deny services and system's load get very high.

Then the size of your cache_dir is probably not configured correctly, or
maybe you have forgot to run periodic log rotation ("squid -k rotate").

> Because our realserver has about 100G datas for publish

Which isn't very much compared to the whole Internet... Squid happily
maintains a reasonable size irregardless of the amount of data available
on the web servers.

> My question is,how to delete the stale
> cache objects,for example,I'd like to delete the cache objects which
> were created on 3 months ago.

Done all automatically, or there is something very wrong with your
setup.

Regards
Henrik

Received on Wed Dec 27 2006 - 11:35:18 MST

This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST