Re: [SQU] [From CVS] cache no longer working ...

From: Adrian Chadd <adrian@dont-contact.us>
Date: Tue, 21 Nov 2000 07:43:03 -0700

On Tue, Nov 21, 2000, Marc G. Fournier wrote:
>
> Okay, next the stupid question ... I'm using diskd ... what shmbufs are
> you referring to? Are you referring ot the Q1/Q2 parameters in
> squid.conf?
>
> cache_dir diskd -1 /usr/local/squid/cache/1 15240 16 256 64 72
> cache_dir diskd -1 /usr/local/squid/cache/2 15240 16 256 64 72
> cache_dir diskd -1 /usr/local/squid/cache/3 15240 16 256 64 72
>
> Any recommendations on what to set them at?

Yup. You should look at upping those two values until you hit a hitrate
which is acceptable under your disk load.

Unfortunately if you just up them you'll find mysterious crashes as
you run out of sysvshm. src/fs/diskd/store_diskd.h defines SHMBUFS
which is the actual queue size (whereas the q1/q2 determine when
scheduleable disk ops and forced flushing occur..) .. you will need
to up that to be slightly bigger than q2.

And yes, it'll be tidied up before squid-2.4 is released. :-)

Adrian

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Tue Nov 21 2000 - 07:46:03 MST

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