Re: [SQU] Killer memory problem on FreeBSD 4.0

From: Lionel Bouton <Lionel.Bouton@dont-contact.us>
Date: Fri, 03 Nov 2000 15:07:40 +0100

Babak Farrokhi a écrit :
>
> Hi,
>
> I installed Squid 2.3.STABLE4 on FreeBSD 4.0-RELEASE on a AMD-K6 560 Mhz
> with 128MB of SDRAM and 20 GB of HDD as a transparent cache.
>
> Following is a part of my configuration:
>
> maximum_object_size 4098 KB
> cache_swap_high 95
> cache_swap_low 90
> cache_mem 32 MB
> log_fqdn off
> cache_dir ufs /usr/local/squid/cache 15000 16 256
> memory_pools off

For 10GB of cache and "cache_mem 8MB", the squid process takes nearly
120MB on my configuration (Linux, Squid 2.3.STABLE4, 256 MB).

In-memory cache indexes are pretty huge and proportionnal to the number
of objects in your cache (quite proportionnal to the size of the cache).

See : http://www.squid-cache.org/Doc/FAQ/FAQ-8.html#ss8.1

In your case (15GB of cache, "cache_mem 32MB" and 128MB of RAM) you
might have too much disk space allocated to your cache.
If the memory fills up early (when your cache_dir is nearly empty), then
it might be a memory leak.

Hope this helps.

Lionel Bouton.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Nov 03 2000 - 07:10:20 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:14 MST