OOM Killer - Child Scarificed
by linxbee from LinuxQuestions.org on (#5DDTM)
Sometimes on my target i see below error randomly
Code:[ 8539.677000] syslog-ng invoked oom-killer: gfp_mask=0xd0, order=0, oom_adj=0, oom_score_adj=0
[ 8539.677000] syslog-ng cpuset=mjapp 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:40kBFew things unclear to me here.
From the error it appears syslog-ng is getting killed because of Out Of Memory, but its not clear to me whether syslog-ng is requesting more memory or some other process requesting.
Also from line below:
Code:[ 8539.677000] syslog-ng cpuset=mjapp mems_allowed=0Does it mean "mjapp" is requesting for more memory?
Any other details i can use to find the real cause of OOM from the error?
Thanks in advance.


Code:[ 8539.677000] syslog-ng invoked oom-killer: gfp_mask=0xd0, order=0, oom_adj=0, oom_score_adj=0
[ 8539.677000] syslog-ng cpuset=mjapp 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:40kBFew things unclear to me here.
From the error it appears syslog-ng is getting killed because of Out Of Memory, but its not clear to me whether syslog-ng is requesting more memory or some other process requesting.
Also from line below:
Code:[ 8539.677000] syslog-ng cpuset=mjapp mems_allowed=0Does it mean "mjapp" is requesting for more memory?
Any other details i can use to find the real cause of OOM from the error?
Thanks in advance.