Re: SQUID DECREASING PERFORMANCE

From: Irfan Akber <irfan@dont-contact.us>
Date: Fri, 9 Apr 1999 18:11:24 -0000

> Hi Oscar,
>
>
> Thanks for your reply !
>
>
> My harwdare & Soft. configuratons are,
>
> Operating System-- Linux
> OS release: RedHat 5.0
> Squid Version: Squid-2.0/PATCH
> Clock Speed: 300 Mhz
> SCSI Disk Size: 17 Gb (the partition where squid is installed has 5 Gb)
> RAM: 128 Mb
> 56 DialUp user can simultaneously access squid
>
> cache_mem 48

16Mb should be enough

> cache_dir /usr/local/squid/cache 100 16 256

Why only 100MB of caching for squid. If you have big HDD then make it 1000
or 2000 if you like.

> What do you think about this configuration ? What do you suggest me ?
>
> Thanks
> Jose
>
> =========================================================
> >Squid uses memory as it adds data to the on-disk store. If you have
> >too big a store, your squid size will exceed your memory. When this
> >happens, your machine will start to swap.
>
>
> >Whenever Squid locates an object on disk, you will end up swapping
> >large amounts of ram... you don't want this.
> >
> >to test this theory:
> >
> >Ensure that your cache_mem value is set at a small value: let's say
> > 1mb.
> >
> >THEN
> >Add more ram
> >OR
> >decrease the disk space you have allocated (with the cache_dir) value
> >
> >Oskar
Received on Fri Apr 09 1999 - 07:24:43 MDT

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