kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #04769
[Bug 1206891] Re: Android low memory handler driver kills processes when there's still free RAM/swap
The issue is that CONFIG_ANDROID_LOW_MEMORY_KILLER is enabled. I'm not
sure why this is on in the Ubuntu default kernel configuration as it
implements Android-specific behaviour. I installed the latest upstream
kernel package and the kernel config still has the low memory killer
enabled, so the same issue exists there too.
** 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/1206891
Title:
Android low memory handler driver kills processes when there's still
free RAM/swap
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
When I'm doing something memory intensive such as compiling a large
project I find that I start getting processes killed (mainly Chrome),
despite there still being a large amount of swap free. At first I
thought this was being done by the normal Linux oom-killer, but it's
actually the Android low memory handler driver which is built into the
default Ubuntu kernel configuration. Example of the messages I get in
syslog when a process is killed:
Jul 31 11:04:34 asmith-linux kernel: [84686.869462] select 8851 (chrome), adj 300, size 18339, to kill
Jul 31 11:04:34 asmith-linux kernel: [84686.869479] send sigkill to 8851 (chrome), adj 300, size 18339
When this happens, although main memory is close to full, my swap is
barely utilised at all - I have an 8GB swap partition, but I've yet to
see more than around 1GB of it get used.
Kernel version: Ubuntu 3.8.0-27.40-generic 3.8.13.4
---
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: asmith 2189 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
CurrentDmesg:
Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
dmesg: write failed: Broken pipe
DistroRelease: Ubuntu 13.04
InstallationDate: Installed on 2013-07-22 (8 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MachineType: HP ProLiant ML110 G7
MarkForUpload: True
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcEnviron:
SHELL=/bin/bash
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.8.0-27-generic root=/dev/mapper/vg_m110image-lv_root ro quiet splash
ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
RfKill:
Tags: raring
Uname: Linux 3.8.0-27-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
WifiSyslog:
dmi.bios.date: 02/01/2012
dmi.bios.vendor: HP
dmi.bios.version: J01
dmi.chassis.type: 7
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:bvrJ01:bd02/01/2012:svnHP:pnProLiantML110G7:pvr:cvnHP:ct7:cvr:
dmi.product.name: ProLiant ML110 G7
dmi.sys.vendor: HP
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1206891/+subscriptions
References