System freeze/restart on high memory usage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
What is expected to happen is when all RAM and swap is either nearly or fully consumed by a process or application, the OS remains responsive, it doesn't crash to the login screen, and eventually the process or application asking for the majority of resources is force closed.
What happens instead is the mouse stops responding promptly or not at all, and eventually the system resets to the logon screen.
Specific scenarios to reproduce:
- First, when having several chrome tabs open, press CTRL+T several times and arrive to a memory limit.
- Second, I experience this when using virtualbox, given that the VM was asking for half of the memory available, as soon as I open a couple of tabs in chrome in the host the system started to be unusable.
- Third, to reproduce it easily I've installed memtester application and run a couple of instances of it asking 2G chunks, this effectively reproduce the crash very effectively.
I've checked:
- All 4GB of memory passed memtest86+.
- Tested with and without 4GB swap file same crash.
Untested: Adding in /etc/rc.local :
sysctl vm.vfs_
WORKAROUND: By adding into /etc/sysctl.conf the following, I'm not losing control of the system even if it slows down when ramping up the swap use:
vm.min_
vm.swappiness=5
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.13.0-65-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.15
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: Unity
Date: Sun Oct 11 10:41:41 2015
InstallationDate: Installed on 2015-01-17 (266 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 900X3C/
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.127.15
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/15/2015
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P11ABK
dmi.board.
dmi.board.name: NP900X3E-A01ES
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: 900X3C/
dmi.product.
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
tags: | added: kernel-fixed-upstream |
tags: | removed: kernel-fixed-upstream |
This change was made by a bot.