← Back to team overview

kernel-packages team mailing list archive

[Bug 1206891] [NEW] Android low memory handler driver kills processes when there's still free RAM/swap

 

Public bug reported:

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

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- When I'm doing something memory intensive such as compiling 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:
+ 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

-- 
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:
  New

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

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


Follow ups

References