Re: Question

From: Colin Campbell <[email protected]>
Date: Wed, 3 May 2000 18:11:43 +1000 (EST)

On Wed, 3 May 2000, Henrik Nordstrom wrote:

> Colin Campbell wrote:
>
> > 2) the swap files
>
> The swap index file is "compacted" every time you rotate the logs (squid
> -k rotate).

Which I do every night. It isn't an area I have a problem with but others
might.

>
> > 3) temporary storage of cache objects. This is the one that bites me
> > occasionally. Even though the cache max object size is 4MB, if someone
> > loads a large file (eg CDROM image of 650MB) the cache disk fills cos I
> > only have about 250MB free on the cache file systems.
>
> I have a patch which improves this by not swapping out objects to disk
> it is is known that the object is too large to be cached. See
> http://squid.sourceforge.net/hno/patch-2.3.html

I will have a look at this. Currently running 2.2s5 but will upgrade soon.

>
> > I used to get a lot of problems with the filesystem filling. Since I could
> > not change its size I finished up making cache_swap_low and
> > cache_swap_high a bit smaller. In doing so I had to make a decision with a
> > trade-off between
>
> Reducing the cache_swap_high&low is the same as reducing the cache_dir
> size.

Yes but it's easier to play with these on a live 'do not touch' system :-)

Colin
Received on Wed May 03 2000 - 02:15:42 MDT

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