From: j.neuschaefer@gmx.net (Jonathan Neuschäfer)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Couple of questions on OOM trace.
Date: Thu, 9 May 2013 12:07:03 +0200 [thread overview]
Message-ID: <20130509100703.GA3644@debian.debian> (raw)
In-Reply-To: <1368035860.9225.9.camel@oc5268484881.ibm.com>
On Wed, May 08, 2013 at 11:27:40PM +0530, Shraddha Kamat wrote:
>
> Here is the OOM trace header :
>
> Out of memory: Kill process 5374 (min_free_kbytes) score 944 or sacrifice child
> Killed process 5374 (min_free_kbytes) total-vm:30495360kB,anon-rss:20155328kB, file-rss:64kB
> min_free_kbytes invoked oom-killer: gfp_mask=0x200da, order=0, oom_score_adj=0
> min_free_kbytes cpuset=/ mems_allowed=0
>
> ------------------
>
>
> I understand that in this case free pages has gone below min_pages(1).
>
> Couple of questions based on these 4 lines :
>
> (1) I googled a lot but I am not able to find the meaning of 'score
> 994' , anon-rss and file-rss ?
Try reading mm/oom_kill.c.
> (2) In my understanding gfp_mask is relevant here to know from which
> Zone the memory allocation was tried , but failed - right ?
>
> (3) What do order and oom_score_adj signify here ?
oom_score_adj is a per-process /proc entry to adjust the likelihood that
a particular process is killed by the OOM code.
The word "order" is explained by mm/oom_kill.c, line 600:
* @order: amount of memory being requested as a power of 2
Or, better yet, mm/mempolicy.c, line 2024:
* @order: Power of two of allocation size in pages. 0 is a single page.
HTH,
Jonathan Neusch?fer
prev parent reply other threads:[~2013-05-09 10:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 17:57 Couple of questions on OOM trace Shraddha Kamat
2013-05-09 10:07 ` Jonathan Neuschäfer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130509100703.GA3644@debian.debian \
--to=j.neuschaefer@gmx.net \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.