Re: 1.2.beta-20 memory leak

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Mon, 4 May 1998 17:23:52 -0600 (MDT)

--MimeMultipartBoundary
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 4 May 1998, Duane Wessels wrote:

> The cache manager 'mem' page is a good way to find real leaks of
> the pooled memory items.
>
> The "high (hrs)" column tells you how long ago the highest usage was
> attained. Rows with "high (hrs)" close to zero are likely candidates
> for leaks.

Also, please keep these hints in mind:

        1) If a pool is leaking "fast" it will have "high (hrs)" close to 0
        1a) If a pool is leaking "slowly" it may not have "high (hrs)" close
            to 0
        2) If the pool is growing it will have "high (hrs)" close to 0
        2a) Some pools never shrink (objects are never destroyed), they may
            often have "high (hrs)" close to 0
        3) If many pools have "high (hrs)" close to 0, your Squid is
            probably just warming up
        4) "high (hrs)" stats are collected even if memory_pools
            configuration option is "off".
        5) Not all objects are "pooled" as Duane already pointed out
        6) There are probably other exceptions that make leak hunting
            so much fun :)

Alex.

--MimeMultipartBoundary--
Received on Tue Jul 29 2003 - 13:15:49 MDT

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