Skip to contentSkip to conversation

denx 2.4.20 kernel memory leak

DISCUSSION S. Hebbar 2 participants 2 messages Mar 3, 2004

lore
Share & tools
lore

S. Hebbar

author
#0 lore raw

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/

#1 lore raw
Quoted 3 lines · In message <[email protected]> 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.

...

Quoted 1 line

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: [email protected]

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/