All of lore.kernel.org
 help / color / mirror / Atom feed
* oom: Bogus "sysrq: OOM request ignored because killer is disabled" message
@ 2017-04-02  3:52 Tetsuo Handa
  2017-04-03  8:38 ` Michal Hocko
  0 siblings, 1 reply; 8+ messages in thread
From: Tetsuo Handa @ 2017-04-02  3:52 UTC (permalink / raw)
  To: vdavydov, hannes, mhocko, rientjes; +Cc: linux-mm

I noticed that SysRq-f prints

  "sysrq: OOM request ignored because killer is disabled"

when no process was selected (rather than when oom killer was disabled).
This message was not printed until Linux 4.8 because commit 7c5f64f84483bd13
("mm: oom: deduplicate victim selection code for memcg and global oom") changed
 from "return true;" to "return !!oc->chosen;" when is_sysrq_oom(oc) is true.

Is this what we meant?

[  713.805315] sysrq: SysRq : Manual OOM execution
[  713.808920] Out of memory: Kill process 4468 ((agetty)) score 0 or sacrifice child
[  713.814913] Killed process 4468 ((agetty)) total-vm:43704kB, anon-rss:1760kB, file-rss:0kB, shmem-rss:0kB
[  714.004805] sysrq: SysRq : Manual OOM execution
[  714.005936] Out of memory: Kill process 4469 (systemd-cgroups) score 0 or sacrifice child
[  714.008117] Killed process 4469 (systemd-cgroups) total-vm:10704kB, anon-rss:120kB, file-rss:0kB, shmem-rss:0kB
[  714.189310] sysrq: SysRq : Manual OOM execution
[  714.193425] sysrq: OOM request ignored because killer is disabled
[  714.381313] sysrq: SysRq : Manual OOM execution
[  714.385158] sysrq: OOM request ignored because killer is disabled
[  714.573320] sysrq: SysRq : Manual OOM execution
[  714.576988] sysrq: OOM request ignored because killer is disabled

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-04-04 13:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-02  3:52 oom: Bogus "sysrq: OOM request ignored because killer is disabled" message Tetsuo Handa
2017-04-03  8:38 ` Michal Hocko
2017-04-03  9:11   ` Michal Hocko
2017-04-03 10:10     ` Tetsuo Handa
2017-04-03 10:10     ` Vladimir Davydov
2017-04-03 10:20       ` Michal Hocko
2017-04-04 13:23         ` Michal Hocko
2017-04-04 13:36           ` Vladimir Davydov

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.