Dear Steve,
> I'm running squid-1.1.5 on BSD/OS 2.1 and I have a question about
> the cache_mem parameter. No matter how low I set this parameter,
> squid's memory usage seems to grow by about 4K for each new request
> and finally levels out after it reaches a VSZ of 22MB.
>
> This parameter seems to have absolutely no effect. Am I missing
> something here, or is this a bug ?
>
The cache_mem parameter only affects the size of the HOT-cache (the
objects Squid holds in RAM).. The main RAM consumer is the index of
the objects in cache.. Squid uses approximately 100-Bytes of RAM for
every object it holds in cache..
When your cache is growing, your memory consumption will rize..
I'm using the next formule to calculate the maximum size of cache_swap.
D = 40 * (M - S - H)
M = The total avaliable RAM
S = The size of the RAM consumed by the system and other system program's
H = The size of the HOT-cache (cache_mem)
For the Utrecht University Cache (a Sun Sparcstation-4 with 160-MByte RAM)
we have a cache_swap size of circa 6-GByte..
Cheers, Henny
-- ----------------------------------------------------------------------------- E-Mail: Henny.Bekker@cc.ruu.nl ! Disclaimer: The main obstacle to progress http http://www.ruu.nl/~henny ! progress is not ignorance,but PTT: Voice: +31 30 2536971 Fax: +31 30 2531633 ! the illusion of knowledge X400: /G=Henny/S=Bekker/OU=cc/O=ruu/PRMD=surf/ADMD=400net/C=nl o Paper: H.J.Bekker, Utrecht University, Computer Centre _ /- _ Po Box 80011, 3508 TA Utrecht Nederland (_) > (_) -----------------------------------------------------------------------------Received on Fri Aug 01 1997 - 16:14:54 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:55 MST