Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261845AbVASTDE (ORCPT ); Wed, 19 Jan 2005 14:03:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261853AbVASTDE (ORCPT ); Wed, 19 Jan 2005 14:03:04 -0500 Received: from adicia.telenet-ops.be ([195.130.132.56]:45457 "EHLO adicia.telenet-ops.be") by vger.kernel.org with ESMTP id S261845AbVASS45 (ORCPT ); Wed, 19 Jan 2005 13:56:57 -0500 From: Lennert Van Alboom To: linux-kernel@vger.kernel.org Subject: PROBLEM: possible memleak in 2.6.11-rc1 Date: Wed, 19 Jan 2005 19:56:40 +0100 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2233650.U9hdKTl4ox"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200501191956.48228.lennert.vanalboom@ugent.be> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 51138 Lines: 1977 --nextPart2233650.U9hdKTl4ox Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline [1.] One line summary of the problem: Possible memleak in 2.6.11-rc1? [2.] Full description of the problem/report: I compiled a vanilla 2.6.11-rc1 kernel with the .config from my (working)=20 2.6.10 kernel; whenever I use it, my memory is slowly eaten. The "Active:"= =20 part of /proc/meminfo goes up until my machine starts lagging, up to a poin= t=20 where it is no longer usable. It doesn't seem to be application related:=20 first of all this doesn't happen with 2.6.10, even though no apps have been= =20 updated, and the problem remains in runlevel 1 (195 megs active ram in=20 runlevel 1 after ~10 hours and going up, compared to 9 megs in normal=20 conditions). I applied the bk6 patches and the problem remains. [3.] Keywords (i.e., modules, networking, kernel): kernel, memleak [4.] Kernel version (from /proc/version): 2.6.11-rc1-bk6 [5.] Output of Oops.. message (if applicable): none [6.] A small shell script or example program which triggers the problem (if= =20 possible): none (or rather: no need, always happens) [7.] Environment [7.1.] Software (add the output of the ver_linux script here) Linux HamsterPower 2.6.11-rc1-bk6-HamsterKernel #1 Wed Jan 19 08:04:32 CET= =20 2005 i686 AMD Athlon(tm) XP 2100+ unknown GNU/Linux Gnu C 3.4.3 Gnu make 3.80 binutils 2.15.92.0.2 util-linux 2.12a mount 2.12a module-init-tools 3.0 e2fsprogs 1.35 reiserfsprogs 3.6.19 reiser4progs line nfs-utils 1.0.7 Linux C Library 2.3.4 Dynamic linker (ldd) 2.3.4 Procps 3.2.4 Net-tools 1.60 Console-tools 0.2.3 Sh-utils 5.2.1 /usr/src/linux-2.6.11-rc1-bk6/scripts/ver_linux: line 90: udevinfo: command= =20 notfound Modules Loaded floppy sg sd_mod scsi_mod nfsd exportfs lockd sunrpc= =20 snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss snd_emu10k= 1=20 snd_rawmidi snd_seq_device snd_ac97_codec snd_pcm snd_timer snd_page_alloc= =20 snd_util_mem snd_hwdep snd soundcore af_packet 3c59x mii loop nls_iso8859_1= 5=20 nls_cp850 vfatfat w83781d i2c_viapro i2c_isa i2c_sensor i2c_core nvidia=20 ide_cd cdrom usblp ehci_hcd uhci_hcd usbcore rtc reiserfs [7.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) XP 2100+ stepping : 2 cpu MHz : 1734.317 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca= =20 cmovpat pse36 mmx fxsr sse pni syscall mmxext 3dnowext 3dnow bogomips : 3407.87 [7.3.] Module information (from /proc/modules): floppy 44240 0 - Live 0xe2857000 sg 25312 0 - Live 0xe17b1000 sd_mod 9680 0 - Live 0xe1778000 scsi_mod 55792 2 sg,sd_mod, Live 0xe1769000 nfsd 79688 9 - Live 0xe17c2000 exportfs 3776 1 nfsd, Live 0xe12b2000 lockd 49896 2 nfsd, Live 0xe177d000 sunrpc 101828 12 nfsd,lockd, Live 0xe178c000 snd_seq_oss 24768 0 - Live 0xe1761000 snd_seq_midi_event 3904 1 snd_seq_oss, Live 0xe129f000 snd_seq 37840 4 snd_seq_oss,snd_seq_midi_event, Live 0xe173a000 snd_pcm_oss 40672 0 - Live 0xe174a000 snd_mixer_oss 13952 1 snd_pcm_oss, Live 0xe1735000 snd_emu10k1 80708 1 - Live 0xe166f000 snd_rawmidi 14688 1 snd_emu10k1, Live 0xe1659000 snd_seq_device 4108 4 snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi, Live=20 0xe1656000 snd_ac97_codec 57088 1 snd_emu10k1, Live 0xe1699000 snd_pcm 62024 3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec, Live 0xe1688000 snd_timer 16132 3 snd_seq,snd_emu10k1,snd_pcm, Live 0xe165e000 snd_page_alloc 4292 2 snd_emu10k1,snd_pcm, Live 0xe12af000 snd_util_mem 1408 1 snd_emu10k1, Live 0xe129d000 snd_hwdep 4704 1 snd_emu10k1, Live 0xe129a000 snd 32228 13=20 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_s= eq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep,=20 Live 0xe1666000 soundcore 4384 1 snd, Live 0xe127b000 af_packet 12872 0 - Live 0xe12a1000 3c59x 28520 0 - Live 0xe12a7000 mii 2752 1 3c59x, Live 0xe1290000 loop 9544 0 - Live 0xe1296000 nls_iso8859_15 3392 1 - Live 0xe1284000 nls_cp850 3648 1 - Live 0xe127e000 vfat 8832 1 - Live 0xe1280000 fat 30240 1 vfat, Live 0xe1287000 w83781d 22760 0 - Live 0xe0efb000 i2c_viapro 4044 0 - Live 0xe0e2c000 i2c_isa 960 0 - Live 0xe0e2e000 i2c_sensor 1792 1 w83781d, Live 0xe0e1c000 i2c_core 12176 4 w83781d,i2c_viapro,i2c_isa,i2c_sensor, Live 0xe0e14000 nvidia 3207836 12 - Live 0xe12b4000 ide_cd 31300 0 - Live 0xe0e5f000 cdrom 31840 1 ide_cd, Live 0xe0e56000 usblp 8064 0 - Live 0xe0e19000 ehci_hcd 23240 0 - Live 0xe0e25000 uhci_hcd 23696 0 - Live 0xe0e1e000 usbcore 79928 4 usblp,ehci_hcd,uhci_hcd, Live 0xe0e34000 rtc 7928 0 - Live 0xe0e11000 reiserfs 206576 7 - Live 0xe0d08000 [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem): 0000-001f : dma1 0020-0021 : pic1 0040-0043 : timer0 0050-0053 : timer1 0060-006f : keyboard 0070-0077 : rtc 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide3 01f0-01f7 : ide2 0290-0297 : w83781d 0376-0376 : ide3 03c0-03df : vesafb 03f6-03f6 : ide2 0400-0407 : viapro-smbus 0cf8-0cff : PCI conf1 c400-c41f : 0000:00:10.0 c400-c41f : uhci_hcd c800-c81f : 0000:00:10.1 c800-c81f : uhci_hcd cc00-cc1f : 0000:00:10.2 cc00-cc1f : uhci_hcd d000-d01f : 0000:00:07.0 d000-d01f : EMU10K1 d400-d47f : 0000:00:06.0 d400-d47f : 0000:00:06.0 d800-d80f : 0000:00:0c.0 d800-d807 : ide0 d808-d80f : ide1 dc00-dc03 : 0000:00:0c.0 e000-e007 : 0000:00:0c.0 e400-e403 : 0000:00:0c.0 e402-e402 : ide0 e800-e807 : 0000:00:0c.0 e800-e807 : ide0 ec00-ec07 : 0000:00:07.1 fc00-fc0f : 0000:00:11.1 fc00-fc07 : ide2 fc08-fc0f : ide3 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000cf3ff : Video ROM 000f0000-000fffff : System ROM 00100000-1ffeffff : System RAM 00100000-00279e5e : Kernel code 00279e5f-002c433f : Kernel data 1fff0000-1fff7fff : ACPI Tables 1fff8000-1fffffff : ACPI Non-volatile Storage cdb00000-ddcfffff : PCI Bus #01 d0000000-d7ffffff : 0000:01:00.0 d0000000-d7ffffff : vesafb ddc80000-ddcfffff : 0000:01:00.0 dde00000-dfefffff : PCI Bus #01 de000000-deffffff : 0000:01:00.0 de000000-deffffff : nvidia dfff0000-dfff3fff : 0000:00:07.2 dfff7000-dfff77ff : 0000:00:07.2 dfff7e00-dfff7eff : 0000:00:10.3 dfff7e00-dfff7eff : ehci_hcd dfff7f80-dfff7fff : 0000:00:06.0 dfffc000-dfffffff : 0000:00:0c.0 e0000000-e7ffffff : 0000:00:00.0 fec00000-fec00fff : reserved fee00000-fee00fff : reserved fff80000-ffffffff : reserved [7.5.] PCI information ('lspci -vvv' as root): 00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333] Subsystem: VIA Technologies, Inc.: Unknown device 0000 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-= =20 Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=3Dmedium >TAbort-= =20 SERR- TAbort-= =20 SERR- Reset- FastB2B- Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=3D0mA=20 PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=3D0 DScale=3D0 PME- 00:06.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev= =20 78) Subsystem: 3Com Corporation 3C905C-TX Fast Etherlink for PC Managem= ent=20 NIC Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-= =20 Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=3Dmedium >TAbort-= =20 SERR- TAbort-= =20 SERR- TAbort-= =20 SERR- TAbort-= =20 SERR- TAbort-=20 SERR- TAbort-= =20 SERR- TAbort-= =20 SERR- TAbort-= =20 SERR- TAbort-= =20 SERR- TAbort-= =20 SERR- TAbort-= =20 SERR- TAbort-= =20 SERR-