Re: Squid-2.4 memory leaks

From: Florin Andrei <florin@dont-contact.us>
Date: 09 Oct 2001 14:56:03 -0700

On Thu, 2001-10-04 at 11:58, Henrik Nordstrom wrote:
> Florin Andrei wrote:
>
> > Hmmm... I still see aweful memory leaks with 2.4STABLE on Irix, on a
> > machine that gets like 90 req/second. The process starts at approx 200
> > MB, then it grows like hell, until it crashes 1...3 days later, when
> > it's almost 2 GB in size. :-/ Tried dlmalloc, it doesn't help.
>
> Any clue on where this memory goes? I.e. any sign in the cachemgr pages?

I attached some cachemgr pages. The ones ending in 1 are taken
immediately after a crash (the process size was still very small); the
ones ending in 2 were taken approx 24 hours later, when squid said it
had 700 MB process size, but "top" said squid was actually 1030 MB :-)
(i think i'll believe top :-P).

> Du you have access to any leak finder tools on IRIX? Preferably an
> online tool that finds memory leaks by "garbage collection" in the
> process memory space (offline leak detectors often find way too many
> "static" memory leaks which is not interesting to fix).

Theoretically yes, but that's a production machine, so it will be really
difficult to run a debugger on it.

-- 
Florin Andrei
...using Microsoft D'oh NET platform

Received on Tue Oct 09 2001 - 15:56:07 MDT

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