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/
|