Re: Serious Memeory leak in 2.0.30 with IP aliases

Sean McAdam (sean@ibasys.net)
Wed, 18 Jun 1997 15:21:41 -0400


At 09:46 PM 6/17/97 +0400, you wrote:
>Hello!
>
>>
>> There seems to be a leak! The line "Network buffers in use" is growing.
>> It is some where around 39,000 and seems to be getting larger by about
>> 50-100 per minute.
>>
>
>OK. The questionary:
>
>- What does line "Network buffers locked by drivers" show?
>- Did you see message "double lock on device queue"?
>- Do you know what kind of traffic carried these 50-100packets/min ?
> FOrwarded? Masqueraded? Your own tcp?
>
>I read that turning RT_CACHE_DEBUG cured the problem :-) :-).
>
>Could you check two things: the last kernel from 2.0 series that I used
>was 2.0.24. Maybe, you have it occasionally; then check it.
>
>arp.c now has two lines marked with /* else it is lost forever */.
>Please, remove them. They are wrong, but could hide the real problem.

I have commented out the lines with the /* else it is lost forever */ in
arp.c and turned off the DEBUG stuff in route.h. ( This is all in 2.0.30 )
The problem seems to have gone away, but.... Now I get:

Jun 18 09:56:11 lewy linux: invalid operand: 0000
Jun 18 09:56:11 lewy linux: CPU: 0
Jun 18 09:56:11 lewy linux: EIP: 0010:[<00126340>]
Jun 18 09:56:11 lewy linux: EFLAGS: 00010246
Jun 18 09:56:11 lewy linux: eax: 01b71c01 ebx: 01b71c00 ecx: 01b71c70
edx: 00000000
Jun 18 09:56:11 lewy linux: esi: 01b71c70 edi: 00000000 ebp: 001b8390
esp: 001adc3c
Jun 18 09:56:11 lewy linux: ds: 0018 es: 0018 fs: 002b gs: 0018 ss:
0018
Jun 18 09:56:11 lewy linux: Process swapper (pid: 0, process nr: 0,
stackpage=001abd7c)
Jun 18 09:56:11 lewy linux: Stack: 00136ba3 01b71c00 00000000 00136a0b
01b71c70 0000e000 00000000 fc670005
Jun 18 09:56:12 lewy linux: 00136e52 01b71c70 00000000 0000e018
0013baa6 001845db 01b71c70 00000000
Jun 18 09:56:12 lewy linux: 0009e3f8 04000000 0000000b 001adcd0
00000002 0013baa4 001c0008 0013f4a8
Jun 18 09:56:12 lewy linux: Call Trace: [<00136ba3>] [<00136a0b>]
[<00136e52>] [<0013baa6>] [<001845db>] [<0013baa4>] [<0013f4a8>]
Jun 18 09:56:12 lewy linux: [<0010c7a9>] [<0010c12c>] [<001095c4>]
[<0010a572>] [<001092b8>] [<00109145>]
Jun 18 09:56:12 lewy linux: Code: ff ff ff ff 89 d7 31 c0 fc f2 ae f7 d1 49
8d 59 01 53 55 6a
Jun 18 09:56:12 lewy linux: Aiee, killing interrupt handler
Jun 18 09:56:12 lewy linux: kfree of non-kmalloced memory: 001addc4, next=
00000000, order=0
Jun 18 09:56:12 lewy linux: kfree of non-kmalloced memory: 001addb4, next=
00000000, order=0
Jun 18 09:56:12 lewy linux: kfree of non-kmalloced memory: 001ae2c8, next=
00000000, order=0
Jun 18 09:56:12 lewy linux: idle task may not sleep
Jun 18 09:56:12 lewy last message repeated 4 times
Jun 18 09:56:12 lewy linux: eth2: enabling AUI port.
Jun 18 09:56:13 lewy linux: eth2: enabling BNC port.
Jun 18 09:56:13 lewy linux: eth2: enabling 10TP port.
Jun 18 09:56:13 lewy linux: eth2: enabling AUI port.
Jun 18 09:56:14 lewy linux: eth2: enabling BNC port.
Jun 18 09:56:15 lewy linux: eth2: enabling 10TP port.
Jun 18 09:56:15 lewy linux: eth2: enabling AUI port.
Jun 18 09:56:16 lewy linux: eth2: enabling BNC port.
Jun 18 09:56:16 lewy linux: eth2: enabling 10TP port.

This has happened a couple of times now. It basically loses the NIC where
the aliases are. ( only one NIC has aliases on it )

Any thoughts?
~Sean

--
Sean@ibasys.net      @work           http://www.ibasys.net
Sean@fredcom.com     @play           http://www.fredcom.com

Chief Linux Advocate and HP9000 Systems Admin Guy

My 2 year olds answer to everything: "No!" You can learn a lot from a 2 year old....

May the farce be with you...