Messages in this thread | | | Date | Mon, 20 Jun 2011 14:09:19 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH] oom: add uid to "Killed process" message |
| |
On Mon, 20 Jun 2011, Frantisek Hrbata wrote:
> Add user id to the oom killer's "Killed process" message, so the user of the > killed process can be identified. >
Notified in what way? Unless you are using the memory controller, there's no userspace notification that an oom event has happened so nothing would know to scrape the kernel log for this information.
We've had a long-time desire for an oom notifier, not only at the time of oom but when approaching it with configurable thresholds, that would wakeup a userspace daemon that might be polling on notifier. That seems more useful for realtime notification of an oom event rather than relying on the kernel log?
| |