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?

==

Answer:

cat /sys/module/lowmemorykiller/parameters/minfree
cat /sys/module/lowmemorykiller/parameters/adj
echo '9999' > /sys/module/lowmemorykiller/parameters/adj
echo '1' > /sys/module/lowmemorykiller/parameters/minfree
cat /sys/module/lowmemorykiller/parameters/minfree
cat /sys/module/lowmemorykiller/parameters/adj

https://answers.launchpad.net/ubuntu/+question/236764

最新文章

  1. 在一个aspx或ashx页面里进行多次ajax调用
  2. 一、CoreAnimation之图层树详解
  3. Yocto开发笔记之《Tip-应用程序无法在目标机运行》(QQ交流群:519230208)
  4. jQuery插件之simplemodal
  5. CocoaPod遇到更新不了的原因
  6. linux:计算机概论
  7. 简单实用的纯CSS百分比圆形进度条插件
  8. import了sun开头的类,虽然它在代码里压根就没派上用处!但是必须得引用!
  9. IIS7.0配置HTTPS安全类型的网站
  10. Apex 单元测试辅助函数简介
  11. Bootstrap3基础 下载bootstrap3压缩包和相应的jQuery文件
  12. 批量导出VBA工程中的Source
  13. java项目实现流水号自动增长
  14. python selenium-1 环境搭建new
  15. 用正则表达式修改html字符串的所有div的style样式
  16. (1)String类 (2)StringBuilder类和StringBuffer类 (3)日期相关的类
  17. LoadRunner如何监控Linux系统资源
  18. javascript控制服务器控件实例一
  19. python2.0_s12_day12_css样式详解
  20. codevs 1080 线段树练习--用树状数组做的

热门文章

  1. linux网络子系统调优
  2. linux性能分析工具Cpu
  3. Oracle 存储过程--01
  4. Vue--事件处理(逐个学习事件修饰符)
  5. Spring学习总结(2)- AOP
  6. PHP curl_init函数
  7. Linux配置postfix
  8. linux 正则表达式与实践
  9. 环境变量(windows下tomcat问题);shh连接虚拟机网络配置
  10. js练习题之图片背景轮播