← Back to team overview

kernel-packages team mailing list archive

[Bug 1589491] [NEW] Kernel memory leak: swap in use without obvious program using it

 

Public bug reported:

I don't know how to diagnose this problem and internet searches do not
give clear pointers: resource usage programs (free, top, htop) report
huge total swap usage (growing over time until all swap space is
exhausted), but no application is using unusual amounts of memory. In
other words, memory seems to be being lost without being associated to
some process.

I don't now if this could be the fault of the kernel, some module, or
something else. I would appreciate any pointers on how to try to
pinpoint the culprit.

The bug has been filed with ubuntu-bug so all process memory usage
should be included. As I write, I see around 4G of swap used, and the
program using the most is using ~80MB only. Certainly, the aggregated
swap seen with top in programs is nowhere near 4G.

The swap use seems legit, since once the swap space is reported
exhausted, the computer starts being less responsive, until I reboot.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: linux-image-generic 4.2.0.36.39
ProcVersionSignature: Ubuntu 4.2.0-36.42-generic 4.2.8-ckt8
Uname: Linux 4.2.0-36-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  jano       1901 F.... pulseaudio
 /dev/snd/controlC1:  jano       1901 F.... pulseaudio
CurrentDesktop:
 
Date: Mon Jun  6 14:59:25 2016
InstallationDate: Installed on 2016-02-08 (118 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
MachineType: Hewlett-Packard HP Compaq 8200 Elite SFF PC
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-36-generic root=UUID=5e3b17bb-b786-4c5d-b231-c51f3c2e5fda ro quiet splash crashkernel=384M-:128M vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.2.0-36-generic N/A
 linux-backports-modules-4.2.0-36-generic  N/A
 linux-firmware                            1.149.3
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: Upgraded to wily on 2016-04-26 (41 days ago)
WifiSyslog:
 jun 03 09:50:29 miles kernel: usb 1-1.6: reset high-speed USB device number 5 using ehci-pci
 jun 03 10:43:53 miles kernel: usb 1-1.6: reset high-speed USB device number 5 using ehci-pci
 jun 06 12:12:37 miles kernel: [drm] GPU HANG: ecode 6:-1:0x00000000, reason: Kicking stuck semaphore on render ring, action: continue
 jun 06 13:26:50 miles kernel: [drm] GPU HANG: ecode 6:-1:0x00000000, reason: Kicking stuck semaphore on render ring, action: continue
dmi.bios.date: 06/09/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: J01 v02.06
dmi.board.asset.tag: CZC13832LR
dmi.board.name: 1495
dmi.board.vendor: Hewlett-Packard
dmi.chassis.asset.tag: CZC13832LR
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrJ01v02.06:bd06/09/2011:svnHewlett-Packard:pnHPCompaq8200EliteSFFPC:pvr:rvnHewlett-Packard:rn1495:rvr:cvnHewlett-Packard:ct6:cvr:
dmi.product.name: HP Compaq 8200 Elite SFF PC
dmi.sys.vendor: Hewlett-Packard

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug wily

-- 
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/1589491

Title:
  Kernel memory leak: swap in use without obvious program using it

Status in linux package in Ubuntu:
  New

Bug description:
  I don't know how to diagnose this problem and internet searches do not
  give clear pointers: resource usage programs (free, top, htop) report
  huge total swap usage (growing over time until all swap space is
  exhausted), but no application is using unusual amounts of memory. In
  other words, memory seems to be being lost without being associated to
  some process.

  I don't now if this could be the fault of the kernel, some module, or
  something else. I would appreciate any pointers on how to try to
  pinpoint the culprit.

  The bug has been filed with ubuntu-bug so all process memory usage
  should be included. As I write, I see around 4G of swap used, and the
  program using the most is using ~80MB only. Certainly, the aggregated
  swap seen with top in programs is nowhere near 4G.

  The swap use seems legit, since once the swap space is reported
  exhausted, the computer starts being less responsive, until I reboot.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-generic 4.2.0.36.39
  ProcVersionSignature: Ubuntu 4.2.0-36.42-generic 4.2.8-ckt8
  Uname: Linux 4.2.0-36-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  jano       1901 F.... pulseaudio
   /dev/snd/controlC1:  jano       1901 F.... pulseaudio
  CurrentDesktop:
   
  Date: Mon Jun  6 14:59:25 2016
  InstallationDate: Installed on 2016-02-08 (118 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  MachineType: Hewlett-Packard HP Compaq 8200 Elite SFF PC
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-36-generic root=UUID=5e3b17bb-b786-4c5d-b231-c51f3c2e5fda ro quiet splash crashkernel=384M-:128M vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.2.0-36-generic N/A
   linux-backports-modules-4.2.0-36-generic  N/A
   linux-firmware                            1.149.3
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: Upgraded to wily on 2016-04-26 (41 days ago)
  WifiSyslog:
   jun 03 09:50:29 miles kernel: usb 1-1.6: reset high-speed USB device number 5 using ehci-pci
   jun 03 10:43:53 miles kernel: usb 1-1.6: reset high-speed USB device number 5 using ehci-pci
   jun 06 12:12:37 miles kernel: [drm] GPU HANG: ecode 6:-1:0x00000000, reason: Kicking stuck semaphore on render ring, action: continue
   jun 06 13:26:50 miles kernel: [drm] GPU HANG: ecode 6:-1:0x00000000, reason: Kicking stuck semaphore on render ring, action: continue
  dmi.bios.date: 06/09/2011
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: J01 v02.06
  dmi.board.asset.tag: CZC13832LR
  dmi.board.name: 1495
  dmi.board.vendor: Hewlett-Packard
  dmi.chassis.asset.tag: CZC13832LR
  dmi.chassis.type: 6
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvrJ01v02.06:bd06/09/2011:svnHewlett-Packard:pnHPCompaq8200EliteSFFPC:pvr:rvnHewlett-Packard:rn1495:rvr:cvnHewlett-Packard:ct6:cvr:
  dmi.product.name: HP Compaq 8200 Elite SFF PC
  dmi.sys.vendor: Hewlett-Packard

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


Follow ups