Re: [squid-users] correct cache_mem directive

From: Squid Support (Henrik Nordstrom) <hno@dont-contact.us>
Date: Thu, 4 Apr 2002 01:14:33 +0200

On Wednesday 03 April 2002 21:48, Squid Support (Henrik Nordstrom)
wrote:
> On Wednesday 03 April 2002 19:07, francisv@dagupan.com wrote:
> > Hi,
> >
> > Try setting it to 1/3 of your main memory (64MB), consider also
> > adding more memory to your server.
>
> 1/3 is a bit overkill for cache_mem on most servers.
>
> Don't forget that cache_mem is in addition to the other memory
> uses, not a limit. When calculating the memory usage of a Squid
> server you need to account
> * The size of your disk cache
> * cache_mem
> * Other memory usage by Squid
> * Other software running on the server
>
> The total sum of the above should be no more than about 3/4 of the
> amount of memory installed.

Note: see the Squid FAQ how to calculate the memory requirements
based on the on-disk cache size.. You obviously do not need as much
memory as you have disk, but the more disk cache you have the more
memory Squid needs to keep track of it.

-- 
MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Wed Apr 03 2002 - 16:15:14 MST

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