Ok, I have been all over the memory FAQs and still can't figure out why my
server is consuming all it's RAM. I have 2GIG of DDR RAM and the only
service running on this server is Squid. My cache_mem is set to 64MB and
cache_dir is 10000 16 256. During peak hours my RAM is consumed very fast.
Is there something else I should be configuring besides cache_mem and
cache_dir to minimize memory use?
Any help would be greatly appreciated!
Scott Phalen
-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Wednesday, February 18, 2004 1:11 PM
To: Mouque, Eric
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] FW: Squid memory utilization
On Wed, 18 Feb 2004, Mouque, Eric wrote:
>
> 1/ What can I do to reduce Squid's memory usage ?
First step is to figure out what part of Squid is using a lot of memory.
The Memory Utilization page in cachemgr is a good start.
> 2/ How do you collect Squid statistics ? Should I use cache manager
> for doing so ?
I prefer colleding runtime statistics with SNMP and plot them using MRTG
or RRDTOOL.
For usage statistics use one of the log analyzis packages for Squid. Which
one to use depends a little on what kind of statistics you are interested
in.
> 3/ How to you tune Squid to avoid such memory utilization issue ? The
> memory chapter in the Squid FAQ is pretty old. Is it still valid for
> Squid Version 2.5 ?
The FAQ chapter is still valid to most parts.
> 4/ Squid.conf file contains the following parameters, do you have any
> recommendation with regards to those parameters ?
> cache_mem 16 MB cache_dir null /mnt/aplocaldisk/var/null
There is not much to do about these parameters. Already set for very
restrictive memory usage.
Regards
Henrik
Received on Fri Feb 20 2004 - 11:13:44 MST
This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST