← Back to team overview

kernel-packages team mailing list archive

[Bug 1331186] Re: Ubuntu Linux kernel memory leak, cache memory trouble

 

** Description changed:

  As soon as I start Ubuntu 12.04.4 LTS with i386 PAE kernel, 8GB memory, GNU/Linux 3.2.0-64-generic-pae i686,
  cache memory area  increases a little by a littel, and It consume 5GB memory. User memory left will become 200MB.
  
  I release cache memory by issuing a shell script, cache_release.sh. It
  is  like that :
  
  #!/bin/bash
  
  /bin/sync
  /bin/sync
  /bin/sync
  /bin/sync
  /bin/sync
-  
+ 
  /sbin/sysctl -w vm.drop_caches=1
  /sbin/sysctl -w vm.drop_caches=2
  /sbin/sysctl -w vm.drop_caches=3
  
+ 
+ I registered this shell script to crontab and I issue this script command once a hour.
  
  Maybe kernel requires patches.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-64-generic-pae 3.2.0-64.97
  ProcVersionSignature: Ubuntu 3.2.0-64.97-generic-pae 3.2.59
  Uname: Linux 3.2.0-64-generic-pae i686
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: i386
  ArecordDevices:
-  **** List of CAPTURE Hardware Devices ****
-  card 0: Intel [HDA Intel], device 0: ALC665 Analog [ALC665 Analog]
-    Subdevices: 1/1
-    Subdevice #0: subdevice #0
+  **** List of CAPTURE Hardware Devices ****
+  card 0: Intel [HDA Intel], device 0: ALC665 Analog [ALC665 Analog]
+    Subdevices: 1/1
+    Subdevice #0: subdevice #0
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC1:  hiroshi    4448 F.... pulseaudio
-  /dev/snd/controlC0:  hiroshi    4448 F.... pulseaudio
-  /dev/snd/pcmC0D0p:   hiroshi    4448 F...m pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC1:  hiroshi    4448 F.... pulseaudio
+  /dev/snd/controlC0:  hiroshi    4448 F.... pulseaudio
+  /dev/snd/pcmC0D0p:   hiroshi    4448 F...m pulseaudio
  Card0.Amixer.info:
-  Card hw:0 'Intel'/'HDA Intel at 0xf0a00000 irq 57'
-    Mixer name	: 'Realtek ALC665'
-    Components	: 'HDA:10ec0665,1028046e,00100003'
-    Controls      : 26
-    Simple ctrls  : 13
+  Card hw:0 'Intel'/'HDA Intel at 0xf0a00000 irq 57'
+    Mixer name	: 'Realtek ALC665'
+    Components	: 'HDA:10ec0665,1028046e,00100003'
+    Controls      : 26
+    Simple ctrls  : 13
  Card1.Amixer.info:
-  Card hw:1 'NVidia'/'HDA NVidia at 0xcdefc000 irq 17'
-    Mixer name	: 'Nvidia GPU 14 HDMI/DP'
-    Components	: 'HDA:10de0014,10de0101,00100100'
-    Controls      : 24
-    Simple ctrls  : 4
+  Card hw:1 'NVidia'/'HDA NVidia at 0xcdefc000 irq 17'
+    Mixer name	: 'Nvidia GPU 14 HDMI/DP'
+    Components	: 'HDA:10de0014,10de0101,00100100'
+    Controls      : 24
+    Simple ctrls  : 4
  Date: Wed Jun 18 05:27:20 2014
  HibernationDevice: RESUME=UUID=02e8790f-b82d-416f-8a25-de64b1bac6e9
  InstallationMedia: Ubuntu 12.04 "Precise" - Build i386 LIVE Binary 20120501-03:27
  MachineType: Dell Inc. XPS L501X
  MarkForUpload: True
  ProcFB:
-  
+ 
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-64-generic-pae root=UUID=1dff47dd-b881-4de7-b290-b74b48753d63 ro quiet splash
  RelatedPackageVersions:
-  linux-restricted-modules-3.2.0-64-generic-pae N/A
-  linux-backports-modules-3.2.0-64-generic-pae  N/A
-  linux-firmware                                1.79.15
+  linux-restricted-modules-3.2.0-64-generic-pae N/A
+  linux-backports-modules-3.2.0-64-generic-pae  N/A
+  linux-firmware                                1.79.15
  SourcePackage: linux
  StagingDrivers: mei
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/26/2011
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A08
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: A08
  dmi.modalias: dmi:bvnDellInc.:bvrA08:bd07/26/2011:svnDellInc.:pnXPSL501X:pvrA08:rvnDellInc.:rn:rvrA08:cvnDellInc.:ct8:cvrA08:
  dmi.product.name: XPS L501X
  dmi.product.version: A08
  dmi.sys.vendor: Dell Inc.

** Description changed:

  As soon as I start Ubuntu 12.04.4 LTS with i386 PAE kernel, 8GB memory, GNU/Linux 3.2.0-64-generic-pae i686,
- cache memory area  increases a little by a littel, and It consume 5GB memory. User memory left will become 200MB.
+ cache memory area  increases a little by a little, and It consumes 5GB memory. User memory left will become 200MB.
  
  I release cache memory by issuing a shell script, cache_release.sh. It
  is  like that :
  
  #!/bin/bash
  
  /bin/sync
  /bin/sync
  /bin/sync
  /bin/sync
  /bin/sync
  
  /sbin/sysctl -w vm.drop_caches=1
  /sbin/sysctl -w vm.drop_caches=2
  /sbin/sysctl -w vm.drop_caches=3
  
- 
- I registered this shell script to crontab and I issue this script command once a hour.
+ I registered this shell script to crontab and I issue this script
+ command once a hour.
  
  Maybe kernel requires patches.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-64-generic-pae 3.2.0-64.97
  ProcVersionSignature: Ubuntu 3.2.0-64.97-generic-pae 3.2.59
  Uname: Linux 3.2.0-64-generic-pae i686
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: ALC665 Analog [ALC665 Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  hiroshi    4448 F.... pulseaudio
   /dev/snd/controlC0:  hiroshi    4448 F.... pulseaudio
   /dev/snd/pcmC0D0p:   hiroshi    4448 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xf0a00000 irq 57'
     Mixer name	: 'Realtek ALC665'
     Components	: 'HDA:10ec0665,1028046e,00100003'
     Controls      : 26
     Simple ctrls  : 13
  Card1.Amixer.info:
   Card hw:1 'NVidia'/'HDA NVidia at 0xcdefc000 irq 17'
     Mixer name	: 'Nvidia GPU 14 HDMI/DP'
     Components	: 'HDA:10de0014,10de0101,00100100'
     Controls      : 24
     Simple ctrls  : 4
  Date: Wed Jun 18 05:27:20 2014
  HibernationDevice: RESUME=UUID=02e8790f-b82d-416f-8a25-de64b1bac6e9
  InstallationMedia: Ubuntu 12.04 "Precise" - Build i386 LIVE Binary 20120501-03:27
  MachineType: Dell Inc. XPS L501X
  MarkForUpload: True
  ProcFB:
  
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-64-generic-pae root=UUID=1dff47dd-b881-4de7-b290-b74b48753d63 ro quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-64-generic-pae N/A
   linux-backports-modules-3.2.0-64-generic-pae  N/A
   linux-firmware                                1.79.15
  SourcePackage: linux
  StagingDrivers: mei
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/26/2011
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A08
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: A08
  dmi.modalias: dmi:bvnDellInc.:bvrA08:bd07/26/2011:svnDellInc.:pnXPSL501X:pvrA08:rvnDellInc.:rn:rvrA08:cvnDellInc.:ct8:cvrA08:
  dmi.product.name: XPS L501X
  dmi.product.version: A08
  dmi.sys.vendor: Dell Inc.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1331186

Title:
  Ubuntu Linux kernel memory leak, cache memory trouble

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  As soon as I start Ubuntu 12.04.4 LTS with i386 PAE kernel, 8GB memory, GNU/Linux 3.2.0-64-generic-pae i686,
  cache memory area  increases a little by a little, and It consumes 5GB memory. User memory left will become 200MB.

  I release cache memory by issuing a shell script, cache_release.sh. It
  is  like that :

  #!/bin/bash

  /bin/sync
  /bin/sync
  /bin/sync
  /bin/sync
  /bin/sync

  /sbin/sysctl -w vm.drop_caches=1
  /sbin/sysctl -w vm.drop_caches=2
  /sbin/sysctl -w vm.drop_caches=3

  I registered this shell script to crontab and I issue this script
  command once a hour.

  Maybe kernel requires patches.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-64-generic-pae 3.2.0-64.97
  ProcVersionSignature: Ubuntu 3.2.0-64.97-generic-pae 3.2.59
  Uname: Linux 3.2.0-64-generic-pae i686
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: ALC665 Analog [ALC665 Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  hiroshi    4448 F.... pulseaudio
   /dev/snd/controlC0:  hiroshi    4448 F.... pulseaudio
   /dev/snd/pcmC0D0p:   hiroshi    4448 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xf0a00000 irq 57'
     Mixer name	: 'Realtek ALC665'
     Components	: 'HDA:10ec0665,1028046e,00100003'
     Controls      : 26
     Simple ctrls  : 13
  Card1.Amixer.info:
   Card hw:1 'NVidia'/'HDA NVidia at 0xcdefc000 irq 17'
     Mixer name	: 'Nvidia GPU 14 HDMI/DP'
     Components	: 'HDA:10de0014,10de0101,00100100'
     Controls      : 24
     Simple ctrls  : 4
  Date: Wed Jun 18 05:27:20 2014
  HibernationDevice: RESUME=UUID=02e8790f-b82d-416f-8a25-de64b1bac6e9
  InstallationMedia: Ubuntu 12.04 "Precise" - Build i386 LIVE Binary 20120501-03:27
  MachineType: Dell Inc. XPS L501X
  MarkForUpload: True
  ProcFB:

  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-64-generic-pae root=UUID=1dff47dd-b881-4de7-b290-b74b48753d63 ro quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-64-generic-pae N/A
   linux-backports-modules-3.2.0-64-generic-pae  N/A
   linux-firmware                                1.79.15
  SourcePackage: linux
  StagingDrivers: mei
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/26/2011
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A08
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A08
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: A08
  dmi.modalias: dmi:bvnDellInc.:bvrA08:bd07/26/2011:svnDellInc.:pnXPSL501X:pvrA08:rvnDellInc.:rn:rvrA08:cvnDellInc.:ct8:cvrA08:
  dmi.product.name: XPS L501X
  dmi.product.version: A08
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1331186/+subscriptions


References