Re: How do I wipe out the squid cache ?

From: Carlos Maltzahn <carlosm@dont-contact.us>
Date: Tue, 1 Apr 1997 11:46:00 -0700 (MST)

If you have a dedicated disk for your cache1 file system you can reformat
the disk. It should be a lot faster than 'rm'.

Carlos

On Tue, 1 Apr 1997, Duane Wessels wrote:

> jung@jean.kotel.co.kr writes:
>
> > Thanks ! I am running squid -sYz.
> >
> > Nothing is written oncache_dir/log file and free disk space of cache_dir
> > does not increse after log is deleted.
> > After editing log using vi, log file is writeable.
> > I want to increase free disk space of cache_dir by really deleting files
> > in cache_dir.
> > Do I do 'rm' for every files in cache_dir to get my goal as follow ?
> >
> > From >>
> > $df -k
> > cache1_domain#cache1 20938696 7082939 13551408 35% /cache1
> > To >>
> > $df -k
> > cache1_domain#cache1 20938696 0 20938696 0% /cache1
> >
> > Is there any other method using squid to get free disk space in cache_dir
> > without using 'rm'?
>
> You can add -U to the options.
>
> Removing the objects will take a long time. I suggest you instead do:
>
> mv cache1 killme
> mkdir cache1
> rm -rf killme &
>
> then restart squid.
>
> Duane W.
>
>
Received on Tue Apr 01 1997 - 11:21:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:55 MST