Re: 2.6.23-rc8 network problem. Mem leak? ip1000a?

2008-01-08 Thread Francois Romieu
David Miller [EMAIL PROTECTED] : [...] I invested 30 seconds of code reading to figure out the leak. A much better investment of time than adding bogus comments to the Kconfig help text don't you think? :-) Thanks for the hint David. I'll roll up a patch for it after the day work. --

Re: 2.6.23-rc8 network problem. Mem leak? ip1000a?

2008-01-07 Thread linux
Just to keep the issue open, drivers/net/ipg.c currently in 2.6.24-rc6 still leaks skbuffs like a sieve. Run it for a few hours with network traffic and the machine swaps like crazy while the oom killer goes nuts. diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index d9107e5..4fa392c

Re: 2.6.23-rc8 network problem. Mem leak? ip1000a?

2008-01-07 Thread David Miller
From: [EMAIL PROTECTED] Date: 8 Jan 2008 01:52:11 -0500 @@ -172,6 +172,10 @@ config IP1000 select MII ---help--- This driver supports IP1000 gigabit Ethernet cards. + It works, but suffers from a memory leak. Signifcant + use will consume unswappable kernel

Re: 2.6.23-rc8 network problem. Mem leak? ip1000a?

2008-01-07 Thread David Miller
From: David Miller [EMAIL PROTECTED] Date: Mon, 07 Jan 2008 23:07:09 -0800 (PST) From: [EMAIL PROTECTED] Date: 8 Jan 2008 01:52:11 -0500 @@ -172,6 +172,10 @@ config IP1000 select MII ---help--- This driver supports IP1000 gigabit Ethernet cards. + It works, but

Re: 2.6.23-rc8 network problem. Mem leak? ip1000a?

2007-09-30 Thread linux
ntpd. Sounds like pps leaking to me. That's what I'd think, except that pps does no allocation in the normal running state, so there's nothing to leak. The interrupt path just records the time in some preallocated, static buffers and wakes up blocked readers. The read path copies the latest

Re: 2.6.23-rc8 network problem. Mem leak? ip1000a?

2007-09-30 Thread Andrew Morton
On 30 Sep 2007 03:59:56 -0400 [EMAIL PROTECTED] wrote: ntpd. Sounds like pps leaking to me. That's what I'd think, except that pps does no allocation in the normal running state, so there's nothing to leak. The interrupt path just records the time in some preallocated, static buffers and

Re: 2.6.23-rc8 network problem. Mem leak? ip1000a?

2007-09-30 Thread linux
OK. Did you try to reproduce it without the pps patch applied? No. But I've yanked the ip1000a driver (using old crufy vendor-supplied out-of-kernel module) and the problems are GONE. This machine receives more data than it sends, so I'd expect acks to outnumber real packets. Could the

Re: 2.6.23-rc8 network problem. Mem leak? ip1000a?

2007-09-28 Thread Andrew Morton
On 27 Sep 2007 22:06:17 -0400 [EMAIL PROTECTED] wrote: Uniprocessor Althlon 64, 64-bit kernel, 2G ECC RAM, 2.6.23-rc8 + linuxpps (5.0.0) + ip1000a driver. (patch from http://marc.info/?l=linux-netdevm=118980588419882) After a few hours of operation, ntp loses the ability to send packets.

2.6.23-rc8 network problem. Mem leak? ip1000a?

2007-09-27 Thread linux
Uniprocessor Althlon 64, 64-bit kernel, 2G ECC RAM, 2.6.23-rc8 + linuxpps (5.0.0) + ip1000a driver. (patch from http://marc.info/?l=linux-netdevm=118980588419882) After a few hours of operation, ntp loses the ability to send packets. sendto() returns -EAGAIN to everything, including the 24-byte