[Bug 211859] New: oom_adj -17 does not prevent OOM killing a task
https://bugzilla.novell.com/show_bug.cgi?id=211859 Summary: oom_adj -17 does not prevent OOM killing a task Product: openSUSE 10.2 Version: Alpha 5 Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: olh@novell.com QAContact: qa@suse.de echo -n -17 > /proc/2969/oom_adj this does not prevent the kernel from killing pid 2969 anyway. Out of Memory: Kill process 2401 (YaST2.call) score 1789 and children. Out of memory: Killed process 2969 (Xorg). setting /proc/sys/vm/overcommit_memory from 1 to 0 does not help either. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211859 ------- Comment #1 from olh@novell.com 2006-10-12 03:29 MST ------- Created an attachment (id=101290) --> (https://bugzilla.novell.com/attachment.cgi?id=101290&action=view) dmesg-2.6.18-11-default.txt there is no swap at that time, the dmesg is just from yast probing the available swap partitions. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211859 npiggin@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #2 from npiggin@novell.com 2006-10-12 03:40 MST ------- We have two problems. When oom killing a task and its children, the children are killed without regard for oom_adj == -17. That is the bug being hit here. Another problem, is that in architecture pagefault handlers, any task which encounters an -ENOMEM in the fault path will be killed immediately. What should happen is the oom being passed to mm/oom_kill.c -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211859 gregkh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |npiggin@novell.com |maintainers@forge.provo.nove| |ll.com | Status|ASSIGNED |NEW -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211859 ------- Comment #3 from npiggin@novell.com 2007-01-22 17:37 MST ------- Created an attachment (id=114296) --> (https://bugzilla.novell.com/attachment.cgi?id=114296&action=view) fix for SLES10SP1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211859 npiggin@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #4 from npiggin@novell.com 2007-01-22 17:40 MST ------- OK, the above patch for SLES10SP1 fixes the issue of children being killed, and is also upstream. The pagefault issue is much rarer, and probably only theoretical on most architectures. I have not included a fix for that because I haven't got anything upstream yet, and the fix is a bit more involved. Not sure about SL10 kernels, I'll just clarify what branches need to be patched. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211859 lmb@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |kernelsles10,sles10sp1,10.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211859 npiggin@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #5 from npiggin@novell.com 2007-01-23 21:33 MST ------- Applied to SL102, SLES10_GA and SLES10_SP1. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211859 kgw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|kernelsles10,sles10sp1,10.2 |kernel:sles10,sles10sp1,10.2 ------- Comment #6 from kgw@novell.com 2007-02-06 05:49 MST ------- Corrected Syntax of Whiteboard entry to Maint. standard syntax for better tracking: s/kernels/kernel:s/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211859 kgw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|kernel:sles10,sles10sp1,10.2|released:kernel:sles10 kernel:sles10sp1,10.2 ------- Comment #7 from kgw@novell.com 2007-03-13 06:52 MST ------- Just for the record: Patch: patches.fixes/oom-child-kill-fix.patch published in SLE10 kernelupdate 2.6.16.27-0.9, dated Feb 13, 2007 & released Feb 23, 2007. Setting Whiteboard Status for SLE10 --> released -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=211859 User kgw@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=211859#c8 Klaus Wagner <kgw@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|released:kernel:sles10 kernel:sles10sp1,10.2 |released:kernel:sles10,sles10sp1,10.2 --- Comment #8 from Klaus Wagner <kgw@novell.com> 2008-01-23 03:54:03 MST --- Again, for the record: Patch: patches.fixes/oom-child-kill-fix.patch also included, enabled and released in - SLE10 SP1 GA kernel 2.6.16.46-0.12 (May 2007) - openSUSE 10.2 update kernel 2.6.18.8-0.3 (Apr 2007) Setting Whiteboard Statuses for SLE10SP1 and 10.2 --> released -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=211859 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com