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

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 23 Jul 2007 00:12:11 +0200

On sön, 2007-07-22 at 21:25 +0100, RW wrote:
> 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?

Why do you want to do this? Squid maintains the cache automatically..

From your description it sounds like you might want to look into using
the heap GDSF replacement policy.

If you really want to delete stuff manually then look into using the
purge utility (see related software).

Regards
Henrik

Received on Sun Jul 22 2007 - 16:12:27 MDT

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