LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2021, 09:41 PM   #1
linxbee
Member
 
Registered: Jan 2020
Distribution: RHEL,CENTOS, Ubuntu
Posts: 52

Rep: Reputation: Disabled
OOM Killer - Child Scarificed


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:40kB
Few 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=0
Does 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.
 
Old 01-28-2021, 01:24 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,161

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
OOM has a long and controversial history. Have a read of this for some background. Note the date - things have changed in the interim, but it remains like voodoo.
As for the cpuset, you can ignore it for this conversation - merely informational.
 
  


Reply

Tags
oom, syslog-ng



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel oom autopsy - trying to understand the oom-killer log entries kamermans Linux - Kernel 2 01-11-2011 12:52 PM
Please help - GNOME is broken after OOM Killer went on a rampage during upgrade sixerjman Linux - Software 3 11-20-2006 05:56 PM
OOM-Killer woes Slim Backwater Slackware 2 07-25-2006 03:00 AM
oom-killer: How to set priorities to kill processes guarriman Linux - Security 1 01-31-2006 09:03 AM
oom-killer is killing my programs on FC3 abarclay Fedora 1 03-08-2005 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration