Re: Squid uses memory without bounds

From: Alex Rousskov <>
Date: Fri, 13 Feb 2009 13:59:14 -0700

On 02/13/2009 01:40 PM, Steinar H. Gunderson wrote:
> On Fri, Feb 13, 2009 at 11:55:28AM +0100, Steinar H. Gunderson wrote:
>> Here's a new run. I only let it run for a few minutes, though, so the numbers
>> are pretty small (and their relative sizes may not be representable for a
>> long-running Squid):
> ...and here's a pprof graph:
> It shows delayRead() as the culprit like the last one, but there's more
> details since it doesn't inline everything.
Sorry, I do not know much about pprof. The graph shows that 200MB out of
500MB was allocated to close callbacks for deferred reads (the current
suspect), right? Is there an indication that those objects were actually

How long did this test run, and does the 200MB/test_time memory
consumption speed correlate with what you have observed in longer tests?

Finally, the other 300MB are due to pooled allocations. Those are
tracked and reported by cache manager. Do you see any abnormal memory
stats when you query your longer-running Squids?

Thank you,

Received on Fri Feb 13 2009 - 20:59:22 MST

This archive was generated by hypermail 2.2.0 : Sat Feb 14 2009 - 12:00:03 MST