From: Dave Jones <davej@redhat.com>
To: David Rientjes <rientjes@google.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>, linux-mm@kvack.org
Subject: Re: oomkillers gone wild.
Date: Tue, 5 Jun 2012 13:44:54 -0400 [thread overview]
Message-ID: <20120605174454.GA23867@redhat.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1206041629500.7769@chino.kir.corp.google.com>
On Mon, Jun 04, 2012 at 04:30:57PM -0700, David Rientjes wrote:
> On Mon, 4 Jun 2012, Dave Jones wrote:
>
> > we picked this..
> >
> > [21623.066911] [ 588] 0 588 22206 1 2 0 0 dhclient
> >
> > over say..
> >
> > [21623.116597] [ 7092] 1000 7092 1051124 31660 3 0 0 trinity-child3
> >
> > What went wrong here ?
> >
> > And why does that score look so.. weird.
> >
>
> It sounds like it's because pid 588 has uid=0 and the adjustment for root
> processes is causing an overflow. I assume this fixes it?
Still doesn't seem right..
eg..
[42309.542776] [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
..
[42309.553933] [ 500] 81 500 5435 1 4 -13 -900 dbus-daemon
..
[42309.597531] [ 9054] 1000 9054 528677 14540 3 0 0 trinity-child3
..
[42309.643057] Out of memory: Kill process 500 (dbus-daemon) score 511952 or sacrifice child
[42309.643620] Killed process 500 (dbus-daemon) total-vm:21740kB, anon-rss:0kB, file-rss:4kB
and a slew of similar 'wrong process' death spiral kills follows..
Dave
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
WARNING: multiple messages have this Message-ID (diff)
From: Dave Jones <davej@redhat.com>
To: David Rientjes <rientjes@google.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>, linux-mm@kvack.org
Subject: Re: oomkillers gone wild.
Date: Tue, 5 Jun 2012 13:44:54 -0400 [thread overview]
Message-ID: <20120605174454.GA23867@redhat.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1206041629500.7769@chino.kir.corp.google.com>
On Mon, Jun 04, 2012 at 04:30:57PM -0700, David Rientjes wrote:
> On Mon, 4 Jun 2012, Dave Jones wrote:
>
> > we picked this..
> >
> > [21623.066911] [ 588] 0 588 22206 1 2 0 0 dhclient
> >
> > over say..
> >
> > [21623.116597] [ 7092] 1000 7092 1051124 31660 3 0 0 trinity-child3
> >
> > What went wrong here ?
> >
> > And why does that score look so.. weird.
> >
>
> It sounds like it's because pid 588 has uid=0 and the adjustment for root
> processes is causing an overflow. I assume this fixes it?
Still doesn't seem right..
eg..
[42309.542776] [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
..
[42309.553933] [ 500] 81 500 5435 1 4 -13 -900 dbus-daemon
..
[42309.597531] [ 9054] 1000 9054 528677 14540 3 0 0 trinity-child3
..
[42309.643057] Out of memory: Kill process 500 (dbus-daemon) score 511952 or sacrifice child
[42309.643620] Killed process 500 (dbus-daemon) total-vm:21740kB, anon-rss:0kB, file-rss:4kB
and a slew of similar 'wrong process' death spiral kills follows..
Dave
next prev parent reply other threads:[~2012-06-05 17:45 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-04 15:27 oomkillers gone wild Dave Jones
2012-06-04 15:27 ` Dave Jones
2012-06-04 23:30 ` David Rientjes
2012-06-04 23:30 ` David Rientjes
2012-06-05 17:44 ` Dave Jones [this message]
2012-06-05 17:44 ` Dave Jones
2012-06-05 18:52 ` Dave Jones
2012-06-05 18:52 ` Dave Jones
2012-06-08 19:57 ` David Rientjes
2012-06-08 19:57 ` David Rientjes
2012-06-08 20:03 ` Dave Jones
2012-06-08 20:03 ` Dave Jones
2012-06-08 20:37 ` Thomas Gleixner
2012-06-08 20:37 ` Thomas Gleixner
2012-06-10 2:15 ` David Rientjes
2012-06-10 2:15 ` David Rientjes
2012-06-08 20:15 ` David Rientjes
2012-06-08 20:15 ` David Rientjes
2012-06-08 21:03 ` Dave Jones
2012-06-08 21:03 ` Dave Jones
2012-06-10 2:21 ` David Rientjes
2012-06-10 2:21 ` David Rientjes
2012-06-10 3:21 ` KOSAKI Motohiro
2012-06-10 3:21 ` KOSAKI Motohiro
2012-06-10 20:10 ` Dave Jones
2012-06-10 20:10 ` Dave Jones
2012-06-10 23:52 ` David Rientjes
2012-06-10 23:52 ` David Rientjes
2012-06-11 0:46 ` Dave Jones
2012-06-11 0:46 ` Dave Jones
2012-06-11 9:11 ` [patch 3.5-rc2] mm, oom: fix and cleanup oom score calculations David Rientjes
2012-06-11 9:11 ` David Rientjes
2012-06-11 19:13 ` Dave Jones
2012-06-11 19:13 ` Dave Jones
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=20120605174454.GA23867@redhat.com \
--to=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=rientjes@google.com \
/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.