Re: 1.2 Cache Size (again)

From: Mark Cooke <mpc@dont-contact.us>
Date: Thu, 28 May 1998 15:37:24 +0100 (BST)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 3 May 1998, Duane Wessels wrote:

Mark Cooke writes:

MC>I have a query/problem regarding 1.2b20+patch.
MC>
MC>In squid.conf I have specified a 150Mb cache like so:
MC>cache_dir /usr/squid/cache 150 16 256

MC>However, the dedicated squid cache partition is showing:
MC>/dev/hda5 247871 245978 1893 99% /usr/squid/cache

DW> Possibilities:
DW>
DW> 150 MB is pretty small. Whats your incoming request rate?
DW> Squid may not be removing objects fast enough.
DW>
DW> Any other files there? core? When did you last start
DW> the cache_dir empty? Did it fill up from a 1.1 cache?
DW>
DW> Whats your filesystem blocksize?

Hi Duane,

Well, having rebuilt with a clean partition, I'm back at the same
situation.

df shows (kb then inode):

/dev/hda5 247871 216025 31846 87% /usr/squid/cache
/dev/hda5 64000 13770 50230 22% /usr/squid/cache

with a 150Mb cache setup in squid.conf.

Thus, it would appear that squid isn't freeing objects quickly enough
at the (very) low rate of hits it is receiving here currently. Can you
point me towards the right bits of the code to tweak this update rate?

Cheers,

Mark

+-------------------------------------------------------------------------+
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/AwUBNW12q3lbx4ZElNuLEQIR2gCg2syg1jwm8bB7dPo5VkmtdCHVUecAn1Uu
iqr5zrf2VW/uDgt8PifJ+mnv
=/zlm
-----END PGP SIGNATURE-----
Received on Thu May 28 1998 - 07:44:12 MDT

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