system swapping itself to death in raring for no good reason
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
High
|
Unassigned | ||
Raring |
Expired
|
High
|
Unassigned | ||
Saucy |
Expired
|
High
|
Unassigned |
Bug Description
My laptop has 4GB of RAM and ~6GB of swap configured. After my most recent kernel upgrade in raring, I am noticing the system has started swapping itself to death; the desktop becomes completely unresponsive, and in some cases it becomes unresponsive even over SSH.
Looking remotely with SSH, I find that kswapd0 is using up nearly one full core. I have no idea *why* - I have vm.swappiness set to 30, and 'free' shows that over 1GB of RAM is still being used for buffers, so there really shouldn't be any memory pressure. Despite the fact that there's only ~400MB of swap used, which should certainly fit back into system memory, 'swapoff -a' fails with a 'Could not allocate memory' error. If I set vm.swappiness to 0, the swap usage decreases, but *very* slowly: after over a half hour, there's still over 400MB of swap used. And I don't have any idea what kswapd is doing at this point, but it's still very busy; and even after setting vm.swappiness=0, the system has managed a second time to get itself into an unresponsive state, with swap looking like the culprit.
dmesg shows nothing (which I will try to demonstrate by attaching logs from the machine in question, once it's responsive enough to let me run apport-collect).
---
ApportVersion: 2.9-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
DistroRelease: Ubuntu 13.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2010-09-24 (896 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
MachineType: LENOVO 3249CTO
MarkForUpload: True
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.103
Tags: quantal
Uname: Linux 3.8.0-10-generic x86_64
UpgradeStatus: Upgraded to quantal on 2013-01-25 (42 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin mythtv plugdev sambashare src sudo
WifiSyslog:
dmi.bios.date: 08/23/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET52WW (1.22 )
dmi.board.name: 3249CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 3249CTO
dmi.product.
dmi.sys.vendor: LENOVO
Changed in linux (Ubuntu): | |
importance: | Undecided → Critical |
Changed in linux (Ubuntu): | |
importance: | Critical → High |
tags: | added: bios-outdated-6quj19us needs-upstream-testing |
summary: |
- system swapping itself to death in raring for no good reason + [Lenovo ThinkPad X201 3249] system swapping itself to death in raring + for no good reason |
Changed in linux (Ubuntu): | |
status: | Confirmed → Incomplete |
Changed in linux (Ubuntu Raring): | |
status: | Confirmed → Incomplete |
Changed in linux (Ubuntu Saucy): | |
status: | Confirmed → Incomplete |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1152736
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.