最近,我偶然发现了这个错误,我可以理解是因为内存不足而发生的,但不确定是谁在请求内存。
[ 8539.677000] syslog-ng invoked oom-killer: gfp_mask=0xd0, order=0, oom_adj=0, oom_score_adj=0
[ 8539.677000] syslog-ng cpuset=demo_app mems_allowed=0
[ 8539.678000] [ 2930] 102 2930 2893 1702 0 0 0 syslog-ng
[ 8539.678000] Memory cgroup out of memory: Kill process 2930 (syslog-ng) score 83 or sacrifice child
[ 8539.678000] Killed process 2930 (syslog-ng) total-vm:11572kB, anon-rss:6768kB, file-rss:40kB
从这一行来看,[ 8539.677000] syslog-ng cpuset=demo_app mems_allowed=0
这是否意味着demo_app
正在请求更多内存?
cpuset 到底是什么,我可以使用此处的任何信息来查找此错误的根本原因吗?
更新操作系统和版本:
# cat /etc/issue
Poky (Yocto Project Reference Distro) 2.0 \n \l
# uname -a
Linux CHB 3.2.48 #1 SMP Tue Mar 14 15:52:38 CET 2017 i686 GNU/Linux