Re: cache size no bigger than 60% of available space

From: John Saunders <John.Saunders@dont-contact.us>
Date: Fri, 11 Oct 1996 19:11:08 +1000 (EST)

On Fri, 11 Oct 1996, Nico Tranquilli wrote:

> I have been running Squid for about a month on a dedicated machine
> with 10Gbyte spread across 5 different filesystems. It handles an avarage
> of 100 thousands requests per day but the cache size doesn't grow over, say,
> 60% of the available space (the cache_swap is set to 10000,
> the cache_swap_low to 90% and the cache_swap_high to 95%). It seems as though
> the cleaned objects are more than newer ones...
> any clue ?

Yeah, I got that as well until I played around with the TTL to make the
objects stay in the cache longer. There seems to be a relationship between
the TTL of the objects and the cache activity that affects how full the
cache gets. I had 200MB assigned as my cache and it never got above 30MB
until I increased the max TTL from 3 days to 14 days. That was with an
older 1.0.x version of Squid, I can't say if the latest version does the
same thing.

Cheers.
-- +--------------------------------------------------------------+
        . | John Saunders - John.Saunders@scitec.com.au (Work) |
    ,--_|\ | - john@nlc.net.au (Home) |
   / Oz \ | - http://www.nlc.net.au/~john/ |
   \_,--\_/ | SCITEC LIMITED - Phone +61 2 9428 9563 - Fax +61 2 9428 9933 |
         v | "Alcatraz triathalon: dig, swim, run" |
              +--------------------------------------------------------------+
Received on Fri Oct 11 1996 - 02:11:38 MDT

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