Messages in this thread | | | Date | Wed, 11 Nov 1998 02:03:19 +0100 | From | Kurt Garloff <> | Subject | Memory leak in network buffers 2.1.125ac3 |
| |
Hi everyone,
I was wondering why my box was getting slower after some days of uptime. Here's what I found:
Nov 11 01:46:30 kg1 kernel: Mem-info: Nov 11 01:46:30 kg1 kernel: Free pages: 3276kB Nov 11 01:46:30 kg1 kernel: ( Free: 819 (127 254 381) Nov 11 01:46:30 kg1 kernel: 103*4kB 104*8kB 47*16kB 20*32kB 8*64kB 1*128kB = 3276kB) Nov 11 01:46:30 kg1 kernel: Swap cache: add 900956/900956, delete 900704/900704, find 0/0 Nov 11 01:46:30 kg1 kernel: Free swap: 138016kB Nov 11 01:46:30 kg1 kernel: 16368 pages of RAM Nov 11 01:46:30 kg1 kernel: 571 reserved pages Nov 11 01:46:30 kg1 kernel: 2720 pages shared Nov 11 01:46:30 kg1 kernel: 252 pages swap cached Nov 11 01:46:30 kg1 kernel: 34 pages in page table cache Nov 11 01:46:30 kg1 kernel: Buffer memory: 7588kB Nov 11 01:46:30 kg1 kernel: Buffer heads: 7640 Nov 11 01:46:30 kg1 kernel: Buffer blocks: 7588 Nov 11 01:46:30 kg1 kernel: CLEAN: 381 buffers, 20 used (last=20), 0 locked, 0 protected, 0 dirty Nov 11 01:46:30 kg1 kernel: LOCKED: 4779 buffers, 133 used (last=2469), 0 locked, 0 protected, 0 dirty Nov 11 01:46:30 kg1 kernel: DIRTY: 2405 buffers, 3 used (last=810), 0 locked, 0 protected, 2405 dirty Nov 11 01:46:30 kg1 kernel: Networking buffers in use : 144 Nov 11 01:46:30 kg1 kernel: Total network buffer allocations : 16120011 Nov 11 01:46:30 kg1 kernel: Total failed network buffer allocs : 2 Nov 11 01:46:30 kg1 kernel: IP fragment buffer size : 0 root@kg1:~ # uptime 1:52am up 4 days, 8:28, 2 users, load average: 3.66, 3.85, 3.86
So , somewhere in the network code, memory is leaked at an average rate of ca. 40 Bytes/sec. Huhh! Gonna reboot now, because this box only has 64MB.
Anybody already found this one? Dave? Has this been fixed in 2.1.127?
Kernel is 2.1.125ac3, SMP (Dual PII-350), w/ HZ = 400, scheduler bigpatch 4 from Rik and compiled with egcs-1.1a (-O2, -march=pentiumpro -fschedule-insns2). No network, but normal sockets and ppp connections from time to time and a loopback interface.
Anything to try? -- Kurt Garloff <K.Garloff@ping.de> (Dortmund, FRG) PGP key on http://student.physik.uni-dortmund.de/homepages/garloff Unix IS user friendly - it's just selective about who its friends are!
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |