Hide Forgot
Description of problem: The printk output in __oom_kill_task no longer includes p->uid as it did in RHEL 5. LLNL relies on this data point to be able to identify the user causing the oom_kill. This allows them to address the infraction with the user. Version-Release number of selected component (if applicable): RHEL 6 All How reproducible: You don't need to reproduce it. The code has been changed. Just add p->uid back to the printk. ./mm/oom_kill.c RHEL 5 264 static void __oom_kill_task(struct task_struct *p, const char *message) ... 280 if (message) 281 printk(KERN_ERR "%s: Killed process %d, UID %d, (%s).\n", 282 message, p->pid, p->uid, p->comm); RHEL 6 348 static void __oom_kill_task(struct task_struct *p, int verbose) ... 368 if (verbose) 369 printk(KERN_ERR "Killed process %d (%s) " 370 "vsz:%lukB, anon-rss:%lukB, file-rss:%lukB\n", 371 task_pid_nr(p), p->comm, 372 K(p->mm->total_vm), 373 K(get_mm_counter(p->mm, anon_rss)), 374 K(get_mm_counter(p->mm, file_rss))); Actual results: No process uid in the output. Expected results: The process uid is in the output. Additional info:
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Patch(es) available on kernel-2.6.32-182.el6
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2011-1530.html