ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Memory leak?

To:
Subject: Re: [ts-7000] Re: Memory leak?
From: "Eddie Dawydiuk" <>
Date: Wed, 13 Sep 2006 11:32:04 -0700 (MST)
Hello,

> In light of the quote you took from Martin Pool's blog, why is there
> so many pages on the free list (MemFree)?  For two reasons: (1) kernel
> and user threads haven't made enough allocations to consume more, and
> (2) current processing requirements require no more cache/buffer
> blocks (Buffers + Cached) than are being used.
>
> The quote is taken out of context.  It assumes a busy machine with
> swap space, where the VM subsystem balances cached pages, active
> in-core pages and active out-of-core pages in an effort to keep as
> many of the the most relevant pages in RAM as possible.

By linking to the article I was trying to point out the fact that one
can't use the free command to determine how much memory is available,
this is not the proper tool to determine if a memory leak exists. Once
memory is allocated and freed, the kernel will keep that memory and not
return it until there is no more free memory available... I agree with
you that something is allocating about 4KB every 2-5 hours, but I don't
believe any data has been presented to indicate a memory leak exists.

> Take a look at the memory output for the TS-7200 at the very top of
> this e-mail.  You'll notice that in the time the free list was reduced
> by about 10MB, only 4MB of which is accounted for by increased buffer
> and cache page usage.   This leaves 6MB allocated elsewhere, which is
> a behavior I haven't seen before.  Also note that allocations would
> most likely have continued had I not stopped the test.  This behavior,
> continuous increases in allocations that grow statistically large over
> time, is symptomatic of a memory leak.  It could be something else,
> but it doesn't seem likely.

Could you run your script for a couple of days(you could determine how 
long this needs to be based upon how fast you are losing memory, and 
how much free memory is available when you first boot). If a memory 
leak exists you will find you can't run any commands with out the VM
killing the process because no memory is available. Let me know what you
find...

//Eddie


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU