** Also affects: linux (Ubuntu Saucy) Importance: Undecided Status: Confirmed
** Changed in: linux (Ubuntu Saucy) Status: Confirmed => In Progress ** Changed in: linux (Ubuntu Saucy) Assignee: (unassigned) => Tim Gardner (timg-tpi) -- 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/1235161 Title: lowmemorykiller killing processes when swap still available Status in “linux” package in Ubuntu: In Progress Status in “linux” source package in Saucy: In Progress Bug description: Hi there, I've upgraded a number of test systems to the latest Saucy beta. I've seen quite a few cases of processes being killed by lowmemorykiller with the following entries being logged: [ 291.565121] lowmemorykiller: send sigkill to 4476 (python), adj 0, size 8864 [23515.006794] lowmemorykiller: send sigkill to 944 (update-apt-xapi), adj 0, size 44175 The systems where this happens are kvm virtual machines with relatively modest amounts of RAM allocated (256 or 512 MB) with 2 GB swap. The swap is mostly unused when the kills occur. I searched around and could only find references to Android for lowmemorykiller and nothing on how to disable it. I tried the following without success: echo '9999,9999' > /sys/module/lowmemorykiller/parameters/adj Any ideas on how to disable lowmemorykiller or at least prevent processes to be killed rather than swapped? --- AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Oct 3 18:30 seq crw-rw---- 1 root audio 116, 33 Oct 3 18:30 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.12.5-0ubuntu1 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: Error: [Errno 2] No such file or directory DistroRelease: Ubuntu 13.10 HibernationDevice: RESUME=UUID=9d9d5ee8-6637-494c-a445-175def866e68 IwConfig: Error: [Errno 2] No such file or directory Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: Bochs Bochs MarkForUpload: True Package: linux (not installed) PciMultimedia: ProcFB: ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-11-generic root=UUID=a693cab7-d536-4f4c-8f9e-02d84b2ad614 ro nosplash noplymouth console=tty0 console=ttyS0,115200n8 ProcVersionSignature: Ubuntu 3.11.0-11.17-generic 3.11.3 RelatedPackageVersions: linux-restricted-modules-3.11.0-11-generic N/A linux-backports-modules-3.11.0-11-generic N/A linux-firmware 1.116 RfKill: Error: [Errno 2] No such file or directory Tags: saucy Uname: Linux 3.11.0-11-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: WifiSyslog: Oct 4 07:10:46 vm2 kernel: [45649.533724] perf samples too long (2568 > 2500), lowering kernel.perf_event_max_sample_rate to 50000 Oct 4 14:18:47 vm2 kernel: [71330.618497] perf samples too long (5018 > 5000), lowering kernel.perf_event_max_sample_rate to 25000 dmi.bios.date: 01/01/2011 dmi.bios.vendor: Bochs dmi.bios.version: Bochs dmi.chassis.type: 1 dmi.chassis.vendor: Bochs dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2011:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr: dmi.product.name: Bochs dmi.sys.vendor: Bochs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1235161/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp