Re: [squid-users] FW: Squid memory utilization

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 18 Feb 2004 20:10:32 +0100 (CET)

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 Wed Feb 18 2004 - 12:10:38 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST