RE: [squid-users] correct cache_mem directive

From: <francisv@dont-contact.us>
Date: Fri, 5 Apr 2002 01:31:43 +0800

Henrik,

How do you _exactly_ compute for the items you listed below?

-----Original Message-----
From: Squid Support (Henrik Nordstrom) [mailto:hno@marasystems.com]
Sent: Thursday, April 04, 2002 3:49 AM
To: francisv@dagupan.com; aditya@bits-pilani.ac.in
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] correct cache_mem directive

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.

-- 
MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Thu Apr 04 2002 - 10:30:57 MST

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