[ILUG] squid web cache add-on.

Paul Jakma paulj at alphyra.ie
Fri Jul 26 16:43:07 IST 2002


On Fri, 26 Jul 2002, Feroz F. Basir wrote:

> Hi,
> 
> I have about 20 GIG space. And about 50 users going to
> connect to it. RAM about 256 MB. Is 10 GIG cache more
> than enough to occupy 50 users connection? Plus what
> is the best squid configuration for my scenario here?
> Anybody care to share their experience?

firstly start out with the default configuration. the only things you 
probably want to change initially are the:

	cache_mem
	cache_dir
	maximum_object_size

parameters to reflect the resources you want it to use. And you 
probably want to check the acls are good for what you need.

cache_mem to reflect how much RAM you want squid to use. (NB: it will 
use more memory in total than cache_mem, so set it to maybe 60 or 70% 
of how much RAM you want squid to actually use. You can fine-tune 
later.)

cache_dir to reflect how much disk space to use for caching.

maximum_object_size - bump this up if you want squid to cache big 
things, eg downloads. (eg i have it set to 50MB).

that's it really. a working squid config. Apart from acls you dont 
really /need/ to do much more.

> 
> Thank you in advance.
> 
> regards,
> feroz

--paulj





More information about the ILUG mailing list