Many people misread this part of the FAQ.
cache_mem only ADDS to the amount of memory Squid is using, it does not
limit the memory usage.
Quid rule of thumb:
Memory usage = 10 MB per GB of cache + cache_mem + 20MB.
Then add some margin on top of that.
I think you are actually referring to the printout telling how much data
Squid has cached on disk, printed shortly after the cache index has been
reconstructed..
Regards
Henrik Nordstr�m
Brian M�ller wrote:
>
> Hey there
>
> I'm having squid 2.4.stable2 running under Redhat Linux 7.2 on a Dual P3 1
> Ghz with 3 gb Ram.
>
> In squid.conf i have currently set squid to use 700 mb om memory. Before
> that it was running with 900 mb and it startet to swap. How come ? what I
> have read and understod squid is only supposed to use 2 to 3 times what you
> set it to in squid.conf.
>
> Another thing that I'm not 100% complete sure belongs here but here goes:
> When i start top from the commandline it tells me that i has used almost 2gb
> of memory for cache. Is this squid that uses so much in the background or is
> it linux that fucks up ?
>
> Thanks for at really good help. Also when I do not need it (optimizing and
> stuff :) )
>
> Yours
>
> Brian
Received on Fri Jan 04 2002 - 21:54:34 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:38 MST