Search squid archive

Re: Deleting UFS cache files directly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux