Re: Rebuilding Cache

From: Lubna Sorour <lsorour@dont-contact.us>
Date: Tue, 30 Mar 1999 12:03:56 +0200

Thats because you've disabled it in your squid.conf file.
You can enable it by putting this entry in your file:
cache_swap_log /squid's/working/directory/logs/swap.log

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
Received on Tue Mar 30 1999 - 03:08:27 MST

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