Re: How do I wipe out the squid cache ?

From: HJ Hwang <jung@dont-contact.us>
Date: Tue, 1 Apr 1997 18:42:49 +0900 (KST)

According to Gregory Borodiansky:
>
> HJ Hwang wrote:
> >
> > I want to restart the squid from the beginning.
> > That is, I want to deletes all the objects which are stored in cache_dirs .
> > How do I do ?
>
> Run squid -z
> Also see squid -h for all other options.
>

  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'?
  

-- 
    *    _  _	  
    ||_|| ||_| 	  Hwang, Hyojung / jung@jean.kotel.co.kr / 82-2-526-5235
  |_|       _|_	  Internet Team  / Multimedia Laboratory / KT R&D Group
           |_|	  137-792, 17 Umyun-Dong, Seocho-Gu, Seoul, Korea
Received on Tue Apr 01 1997 - 02:03:16 MST

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