Re: [squid-users] http accelerator

From: Brian <hiryuu@dont-contact.us>
Date: Thu, 2 Aug 2001 15:37:09 -0400

On Thursday 02 August 2001 04:12 am, Toby Dickenson wrote:
> On Wed, 1 Aug 2001 19:42:41 -0400, Brian <hiryuu@envisiongames.net>
>
> wrote:
> >and it buffers a small amount (16k by
> >default, but a couple of our's buffer 2MB), so requests don't tie up
> >apache while they're sent.
>
> How do you tweak this in Squid?

src/defines.h:
#define READ_AHEAD_GAP (1<<14)

(That would be 2^14, or 16k. Our media and image caches use 1<<21.)
Be careful playing with this. It can eat memory in a hurry.

        -- Brian
Received on Thu Aug 02 2001 - 13:37:07 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:26 MST