[Lenovo ThinkPad X220] Computer unusable under memory pressure with no swap space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
I've a laptop with 8 gigabytes of RAM, an Intel SSD, and no swap partition (because I don't want to wear out my SSD).
Since I upgraded to Ubuntu 14.10, about once a week my laptop suddenly goes into happy-swap-land:
- HDD led is on all the time
- windows stop redrawing
- mouse cursor doesn't move (or moves about 1/2px per minute max)
- CapsLock takes 60 seconds between keypress and the LED turning on
I just had another episode and gave it 25 minutes to get better. It didn't. I had to Alt-SysRq-S,U,B to get back a working computer.
I had `atop` installed, so I've snapshots of the system state taken every 10 minutes. These show sda being busy 100% of the time, reading 250 MB/s, with all the running processes being responsible for the reads (e.g. Skype read 13.5 GB of data in one 10 minute window). They also show the number of scanned pages jumped up to to 2744e5, and then up to1630e6 and stayed there.
As far as I can tell, this means the kernel decided to free some pages and started evicting mapped library/executable pages which only got read back in the next instant because running programs need those pages to run.
I've no idea why the OOM killer didn't kick in.
I've no idea why the kernel didn't discard some pages from the page cache. atop shows the page cache was 4.1G during all that time and didn't go up or down.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-
ProcVersionSign
Uname: Linux 3.16.0-25-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: GNOME
Date: Fri Nov 7 10:10:44 2014
EcryptfsInUse: Yes
HibernationDevice: RESUME=
InstallationDate: Installed on 2012-07-25 (834 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
Lsusb:
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 4291WJF
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.138
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to utopic on 2014-10-24 (13 days ago)
dmi.bios.date: 07/18/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET69WW (1.39 )
dmi.board.
dmi.board.name: 4291WJF
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: 4291WJF
dmi.product.
dmi.sys.vendor: LENOVO
summary: |
- Computer unusable under memory pressure with no swap space + [Lenovo ThinkPad X220] Computer unusable under memory pressure with no + swap space |
This change was made by a bot.