Re: [squid-users] Squid memory usage

From: Nathan Hoad <nathan_at_getoffmalawn.com>
Date: Wed, 29 May 2013 12:19:34 +1000

On Tue, May 28, 2013 at 3:23 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> On 28/05/2013 3:59 p.m., Nathan Hoad wrote:
>
> I take it you are referring to the 2.0g resident size?

That is what I'm referring to, yes - the resident size has increased
to 2.5g since my previous mail, virtual to 2.6g.

>
> 1GB is within the reasonable use limit for a fully loaded Squid under peak
> traffic. The resident size reported is usually the biggest "ever" size of
> memory usage by the process.
>
> FWIW: The memory report shows about 324MB being tracked by Squid as
> currently in use for other things than cache_mem with 550 active clients
> doing 117 transactions at present. The client transaction related pools show
> that the current values are 1/3 of peak traffic, so 3x 360MB ==> ~1GB under
> peak traffic appears entirely possible for your Squid.

Out of interest, how did you come to the 324MB? I'd be interested in
learning how to read the output a bit better :)

>
> HTH
> Amos

On Wed, May 29, 2013 at 1:56 AM, Alex Rousskov
<rousskov_at_measurement-factory.com> wrote:
> On 05/27/2013 09:59 PM, Nathan Hoad wrote:
>
>
> Memory leaks increase memory usage over time. Does that happen in your
> environment? If you do not know, you may want to start logging Squid
> memory usage every hour or so.

I am happy to start doing this, but given that memory usage would
increase over time through general use anyway, I'm unsure how I could
differentiate between expected memory usage increases and a memory
leak.

Nathan.
Received on Wed May 29 2013 - 02:20:04 MDT

This archive was generated by hypermail 2.2.0 : Wed May 29 2013 - 12:00:07 MDT