LRU replacement question.

From: Roddy Strachan <roddy@dont-contact.us>
Date: Thu, 4 Nov 1999 09:08:58 +1100 (EST)

Hi,
        Can someone out there enligten me on how squid knows when it has
hit its LRU replacement mark?

I have been having problems with it not clearing properly, here are the
relevant lines in the config.

cache_mem 140 MB (The box its running on is a Celeron 400, 256 Meg ram
and 20 gig drive space.)

cache_swap_low 94
cache_swap_high 99

cache_dir /usr/local/squid/cache 8320 32 256
cache_dir /usr/local/squid/cache1 2350 32 256
cache_dir /usr/local/squid/cache2 9300 32 256

Which brings the above out to :

Cache : 8519680 KB
Cache1 : 2406400 KB
Cache2 : 9523200 KB

Current df stats :

/dev/sda1 8566007 7846697 275115 97% /usr/local/squid/cache
/dev/hdc1 3062343 2616350 287613 90% /usr/local/squid/cache1
/dev/hdd1 9657255 8823896 332259 96% /usr/local/squid/cache2

Now the problem is the cache keeps filling up, i had to delete some
entries to gain some space back. Why isnt the LRU replacement working the
way it should is there something I am missing here?

Thanks for your help.

---------------------------------------------------------------------
   Roddy Strachan Email - roddy@satlink.com.au
   Network/Systems Administrator ICQ - 1987890
   Satlink Internet Services Ph. - +61-3-9775-2600
   www.straks.satlink.com.au Fax. - +61-3-9775-2456
---------------------------------------------------------------------
Received on Wed Nov 03 1999 - 15:17:24 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:31 MDT