Re: [squid-users] Deleting UFS cache files directly

From: <squid3@dont-contact.us>
Date: Mon, 23 Jul 2007 09:56:22 +1200 (NZST)

> With UFS, is it possible to manually delete cache files without causing
> problems? If so, is there any action that should be taken to have
> squid pick-up the changes?
>
> What I was thinking of doing is periodically running something like:
>
> find /usr/local/squid/cache/?? -type f -atime +2d -size +2M -delete
>
> to remove large files.
>
> Alternately is there a utility that can do this kind of thing?
>

cachemgr.cgi and squidclient are provided along with the squid
installation to assist with things like this.

Amos
Received on Sun Jul 22 2007 - 15:56:27 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:04 MDT