-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 3 May 1998, Duane Wessels wrote:
> Mark Cooke writes:
>
> >In squid.conf I have specified a 150Mb cache like so:
> >cache_dir /usr/squid/cache 150 16 256
<snip>
> >However, the dedicated squid cache partition is showing:
> >/dev/hda5 247871 245978 1893 99% /usr/squid/cache
>
> Possibilities:
>
> 150 MB is pretty small. Whats your incoming request rate?
> Squid may not be removing objects fast enough.
Very low, so this sounds like a likely possibility. The partition
filled up while I was browsing / downloading a set of large files (4Mb
or so each).
> Any other files there? core? When did you last start
> the cache_dir empty? Did it fill up from a 1.1 cache?
No core file, just a 500K squid cache index. I'm 95% sure I started
with a clean cachedir while using 1.2beta18 due to the warnings in
the 1.2 notes about changing formats. I then skipped 1.2beta19
and jumped to 1.2.20+patch.
> Whats your filesystem blocksize?
4K per inode. An 'ls -R | wc -l' gives 34000, so I guess taking a 4K
average unused space (worst case), this gives ~130M accounting
difference between the sum of byte lengths and the disk usage.
Obvious when you have the answer to the problem waved under your nose.
Thanks Duane,
Mark
(busy reformatting with 1K blocks, and setting cache_dir back to
200Mb)
+-------------------------------------------------------------------------+
Mark Cooke The views expressed above are mine and are not
Systems Programmer necessarily representative of university policy
University Of Birmingham URL: http://www.sr.bham.ac.uk/~mpc/
+-------------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv
iQA/AwUBNU3LNHlbx4ZElNuLEQLo/ACg9J1vn/9zmXcqS0w9RK3qUkCup78AoI96
9HL/a7GGhHMCdmjJFXMxoBoj
=iTxO
-----END PGP SIGNATURE-----
Received on Mon May 04 1998 - 07:15:43 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:40:04 MST