Re: Rebuilding Cache

From: Dancer <dancer@dont-contact.us>
Date: Tue, 30 Mar 1999 19:24:36 +1000

Bester Leon wrote:
>
> Where can I find this swap.log file
>
> Running Linux 5.1:
> I did a "find / -name swap.log"
>
> No matches
>
> Only ones found were store.log
> cache.log
> access.log
>
> Cheers
>
> -----Original Message-----
> From: Dancer [mailto:dancer@zeor.simegen.com]
> Sent: Tuesday, March 30, 1999 10:30
> To: Bester Leon
> Cc: 'squid-users@ircache.net'
> Subject: Re: Rebuilding Cache
>
> Bester Leon wrote:
> >
> > What command line parameters do I use to rebuild a 1.1.21 cache
> >
> > My files seems to have gotten confused somehow and incorrect pages are
> > being displayed
> >
> > Leon
>
> Problem: You don't.
>
> Possible solutions:
> 1. Identify the jumbled resources, shut squid down, and remove the rogue
> entries from the swap.log file. Restart.
>
> 2. Remove the swap.log file (essentially wiping your cache index) and
> start fresh.
>
> Squid2.x does not have this problem, as it can re-index the cache-files
> (metadata is stored with the cache-files in 2.x), however loss or
> corruption of the cache-index (swap.log) in 1.1 is Not A Good Thing(tm)
> and not readily recoverable.
>
> D

On your system it may also be called swap_log. It's in the root
directory of your cache_dir normally, though it's location can be
specified in your squid.conf.

D
Received on Tue Mar 30 1999 - 02:31:34 MST

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