← Back to team overview

kernel-packages team mailing list archive

[Bug 1506454] Re: kswapd kills the whole OS by eaing up resources

 

Hi it seems that updating BIOS has not solved this issue as my Desktop just crashed with the new BIOS.
See the requested output here.
$ sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
L01 v02.65
07/13/2015

What happens is that my desktop completely freezes and the only thing that is responding is the mouse pointer.
I'm able to move the mouse pointer, but there is no reaction to any keystroke or mouse click in the DE.
Gnome system monitor also stops updating.

Sometimes I'm able to Ctrl + Alt + F1 to the terminal and type my
username and password, but I never get a prompt.

I use sysrq commands to reboot the computer.

After the reboot checking the atop snapshots created around the time the OS gets unresponsive shows that kswapd0 is generating high read load on the root volume (system_vg-root_lv) and hereby also on the disk containing it (sda) and also high system load (PRC | sys   18.59s  | user   0.20s  | ).
The disk and the volume are both 101% busy and there is a heavy read on them: MBr/s 362.31 (it is and SSD).
There is also another disk in the computer and there is no load on that.

Memory usage looks like this:
MEM | tot     7.7G  | free  127.4M  | cache   1.3G |  dirty   0.0M |  buff    0.4M | slab  118.6M

So it looks like kswapd0 is heavily reading the root filesystem or
partition which is generating a high system load and killing the OS.

If you need any additional information just let me know.


** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

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

Title:
  kswapd kills the whole OS by eaing up resources

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I experience that my desktop (Ubuntu 15.04) gets unresponsive maybe once a week.
  When this happens the whole machine gets unresponsive immediately and only restarting helps.
  It only turns out from the atop logs what happened after the machine was restarted. Atop is configured to run every 30 secs.
  It is visible from the atop logs that kswapd0 is eating up all the CPU resources.
  Strange thing is that this happens despite there is no swap enabled.

  This happens mostly when Virtualbox is running and only a few amount
  of memory is available.

  cat /proc/version_signature 
  Ubuntu 3.19.0-30.34-generic 3.19.8-ckt6

  If you need any addition information please let me know.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-30-generic 3.19.0-30.34
  ProcVersionSignature: Ubuntu 3.19.0-30.34-generic 3.19.8-ckt6
  Uname: Linux 3.19.0-30-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  viktor     1636 F.... pulseaudio
   /dev/snd/controlC1:  viktor     1636 F.... pulseaudio
  CurrentDesktop: GNOME-Flashback:Unity
  Date: Thu Oct 15 14:04:37 2015
  HibernationDevice: RESUME=UUID=592359f8-ccbf-4781-8a65-50b258ce63b6
  InstallationDate: Installed on 2015-06-26 (110 days ago)
  InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
  IwConfig:
   vpn0      no wireless extensions.
   
   eth1      no wireless extensions.
   
   lo        no wireless extensions.
  MachineType: Hewlett-Packard HP EliteDesk 800 G1 SFF
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-30-generic root=/dev/mapper/system_vg-root_lv ro noprompt persistent quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-30-generic N/A
   linux-backports-modules-3.19.0-30-generic  N/A
   linux-firmware                             1.143.3
  RfKill:
   
  SourcePackage: linux
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/09/2013
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: L01 v02.18
  dmi.board.asset.tag: CZC4033CYV
  dmi.board.name: 1998
  dmi.board.vendor: Hewlett-Packard
  dmi.chassis.asset.tag: CZC4033CYV
  dmi.chassis.type: 4
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvrL01v02.18:bd09/09/2013:svnHewlett-Packard:pnHPEliteDesk800G1SFF:pvr:rvnHewlett-Packard:rn1998:rvr:cvnHewlett-Packard:ct4:cvr:
  dmi.product.name: HP EliteDesk 800 G1 SFF
  dmi.sys.vendor: Hewlett-Packard

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


References