linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* denx 2.4.20 kernel memory leak
@ 2004-03-03  9:14 S. Hebbar
  2004-03-03  9:56 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: S. Hebbar @ 2004-03-03  9:14 UTC (permalink / raw)
  To: linuxppc-embedded


Hello,

I am noticing kernel memory leak when I am getting a file using ftp.
For each ftp get session, the skbuff_head_cache is increasing.

Original:
  skbuff_head_cache  17232  17232    160  718  718    1
After getting a 8 MB file.
  skbuff_head_cache  18094  18096    160  754  754    1

Finally, system runs out of memory and kernel start killing processes.

I don't think this is driver problem. I can "flud ping" (ping -f) for more
than 24 hours without loosing any memory. I am generating 4000 packets/second
to the target using "ping -f"

I am not sure if there is another application which causes memory leak.

I am using denx 2.4.20 kernel. My target processor is MPC8260.

Any help is much appreciated.

Regards,
Hebbar.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: denx 2.4.20 kernel memory leak
  2004-03-03  9:14 denx 2.4.20 kernel memory leak S. Hebbar
@ 2004-03-03  9:56 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2004-03-03  9:56 UTC (permalink / raw)
  To: S. Hebbar; +Cc: linuxppc-embedded


In message <200403031444.15398.shebbar@india.tejasnetworks.com> you wrote:
>
> I am noticing kernel memory leak when I am getting a file using ftp.
> For each ftp get session, the skbuff_head_cache is increasing.
...
> I am using denx 2.4.20 kernel. My target processor is MPC8260.

Please update. This is a known problem that has been fixed since:

---------------------
PatchSet 169
Date: 2004/01/08 17:38:41
Author: wd
Branch: HEAD
Tag: (none)
Log:
Patch by Wojciech Kromer, 06 Jan 2004:
Fix sk_buff memory leak problem in 82xx FCC driver.

Members:
        arch/ppc/8260_io/fcc_enet.c:1.7->1.8

---------------------


Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
1st Old Man:  Gee, its windy today.
2nd Old Man:  No it's not... it's Thursday.
3rd Old Man:  Yeh, me too.  Let's go for a beer.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-03  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-03  9:14 denx 2.4.20 kernel memory leak S. Hebbar
2004-03-03  9:56 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).