Re: [squid-users] Squid Proxy

From: Ilker Gokhan <IlkerG@dont-contact.us>
Date: Tue, 20 Mar 2001 11:11:18 +0200

from FAQ:

<..>
  7.3. I want to restart Squid with a clean cache

  Note: The information here is current for version 2.2.

  First of all, you must stop Squid of course. You can use the command:

          % squid -k shutdown

  The fastest way to restart with an entirely clean cache is to over
  write the swap.state files for each cache_dir in your config file.
  Note, you can not just remove the swap.state file, or truncate it to
  zero size. Instead, you should put just one byte of garbage there.
  For example:

          % echo "" > /cache1/swap.state

  Repeat that for every cache_dir, then restart Squid. Be sure to leave
  the swap.state file with the same owner and permissions that it had
  before!

  Another way, which takes longer, is to have squid recreate all the
  cache_dir directories. But first you must move the existing
  directories out of the way. For example, you can try this:

          % cd /cache1
          % mkdir JUNK
          % mv ?? swap.state* JUNK
          % rm -rf JUNK &

  Repeat this for your other cache_dir's, then tell Squid to create new
  directories:
          % squid -z

<..>

Best regards,
Ilker G.

> -----Özgün İleti-----
> Kimden: Squid Boy [mailto:squidboy@pakfree.net]
> Tarih: Monday, March 19, 2001 2:57 PM
> Kime: squid-users@squid-cache.org
> Konu: [squid-users] Squid Proxy
>
>
> How to clear cache of Squid Proxy ?
>
>

Bu e-postada bulunan tüm fikir ve görüşler ve ekindeki dosyalar sadece adres
sahib(ler)ine ait olup, Sümerbank A.Ş hiç bir şekilde sorumlu tutulamaz.
The information contained in this E-Mail and any files transmitted with it
are intended solely for the use of the individual or entity to whom they are
addressed and do not reflect those of Sumerbank A.S.
Received on Tue Mar 20 2001 - 02:09:16 MST

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