ts-7000
[Top] [All Lists]

Re: [ts-7000] Memory leak?

To:
Subject: Re: [ts-7000] Memory leak?
From: "David L. Martin" <>
Date: Mon, 11 Sep 2006 12:09:55 -0400
On Mon, 2006-09-11 at 14:35 +0000, rsmckown wrote:
> I recently started working with a TS-7000 board.  Using the kernel
> supplied in flash (2.4.26-ts11) and the rootfs supplied on CF, the
> board appears to exhibit a memory leak.  If I do the following:
> 
> ts7200:~# while true; do date; free; sleep 3600; done
> 
> I notice a definitive trend where used memory increases and free
> memory decreases in 4KB chunks (or so) every 2-5 hours.  Here are two
> free outputs, about 46 hours apart:
> 
>         total       used       free     shared    buffers     cached
> @hr 0 : 28572      15568      13304          0        788       8788
> @hr 46: 28572      27052       1520          0       2512       9604
> 
> During this time window, buffers and cache increased by 2540K. 
> However, used memory increased 11484K, so the increase is not due
> solely to buffers and cache.  Comparing "ps -elw" output at hours 0
> and 46 show that no user program appears to be leaking memory,
> suggesting the memory leak may be in kernel or kernel module code.
> 
> Has anyone else seen this behavior, or can anyone else duplicate it?

Look at /proc/meminfo
and
http://lwn.net/Articles/28345

The memory in question is probably ready to be reclaimed, but no one has
asked for it.

-- 
David L. Martin


In a world without walls and fences - who needs Windows and Gates?



 
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