Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 457411

Summary: box OOM's under heavy mmap usage.
Product: Red Hat Enterprise Linux 5 Reporter: Josef Bacik <jbacik>
Component: kernelAssignee: Rik van Riel <riel>
Status: CLOSED WONTFIX QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: high    
Version: 5.2CC: gcosta, rhod
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-07 12:44:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
reproducer
none
oom messages none

Description Josef Bacik 2008-07-31 14:52:46 UTC
While investigating a locking order bug that resulted in a hang (bz 439548) it
was discovered that when the locking bug was fixed and the testcase was able to
continue that it would cause an OOM kill.  This problem is reproduceable upstream.

The testcase is simple, untar it, edit the VAR file to point at a blank
partition/volume that it will use, and then do sh run.sh and it will start, at
some point you will see things getting killed.  I'm also attaching a txt file
with a sample of the OOM messages I got (on an upstream kernel).

Comment 1 Josef Bacik 2008-07-31 14:52:48 UTC
Created attachment 313105 [details]
reproducer

Comment 2 Josef Bacik 2008-07-31 14:53:23 UTC
Created attachment 313106 [details]
oom messages

Comment 4 Rik van Riel 2010-11-19 22:11:20 UTC
I did look at it.  I fixed it for RHEL 6 with the split LRU code.

I'm not entirely convinced it is fixable for RHEL 5, though if I come up with an idea one day I'd like to :)

Comment 5 Ronen Hod 2011-08-07 12:44:59 UTC
Too old for RHEL5.8.
Closing.