lamobo跑ltp出現了lowmemory錯誤

在尝试使用Lamobo设备运行Linux Test Project (LTP)时,遇到了lowmemory错误。错误信息表明系统内存不足。为解决此问题,需要编辑/etc/fstab文件,增加交换分区。经过实验,发现至少需要2GB的交换分区才能确保LTP测试的正常运行,1GB的交换空间会导致lightdm被杀死。
摘要由CSDN通过智能技术生成


昨天让Lamobo上的linaro跑ltp(linux test project)测试,今早一看,终端显示error:

init: lightdm main process (391) terminated with status 1

結果看了下linaro的系統日誌/var/log/syslog,發現是lowmemory的問題:

     lowmemorykiller: Killing 'ksm03' (6075), adj,
    Dec :16:41 linaro-alip kernel: [19605.683936]    to freekB on behalf of 'ksm03' (6074) because
    Dec :16:41 linaro-alip kernel: [19605.683941]    cachekB is below limitkB for oom_score_adj
    Dec :16:41 linaro-alip kernel: [19605.683947]    Free memory is -11664kB above reserved
    Dec :17:01 linaro-alip CRON[6078]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Dec :19:24 linaro-alip kernel: [19767.860065] lowmemorykiller: Killing 'min_free_kbytes' (12251), adj,
    Dec :19:24 linaro-alip kernel: [19767.860072]    to freekB on behalf o
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值