Re: [squid-users] MEMORY usage

From: Henrik Nordstrom <[email protected]>
Date: Sat, 01 Dec 2001 12:49:46 +0100

Steve Snyder wrote:

> The cache_mem parameter only controls one type of memory used by Squid. If
> you look at the example squid.conf that comes with Squid you will see a
> notation that the total Squid memory use can be up to 3 times the cache_mem
> value.

Note: The value "3 times" is only an example. As you say cache_mem is in
addition to the other memory uses. You cannot tell how much memory Squid
will be using based on cache_mem alone.

Squid will use AT LEAST

  10 MB per GB of cache
+ your cache_mem
+ some more

For best operation it is recommended to have memory pools turned on, but
limited in size. If not you risk creating quite extensive memory
fragmentation causing the Squid process to grow even if the total amount
of "allocated" memory does not.. See the cachemgr "general runtime
information" page. If you find that the amount of "free memory" grows
and grows over time then you have this problem.

Regards
Henrik Nordstr�m
Received on Sat Dec 01 2001 - 04:55:44 MST

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