RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 457413 - box OOM's under heavy mmap usage.
Summary: box OOM's under heavy mmap usage.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Rik van Riel
QA Contact: Qian Cai
URL:
Whiteboard:
Depends On:
Blocks: 580953
TreeView+ depends on / blocked
 
Reported: 2008-07-31 14:54 UTC by Josef Bacik
Modified: 2013-01-09 21:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-12 13:13:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Josef Bacik 2008-07-31 14:54:09 UTC
+++ This bug was initially created as a clone of Bug #457411 +++

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).

-- Additional comment from jbacik on 2008-07-31 10:52 EST --
Created an attachment (id=313105)
reproducer


-- Additional comment from jbacik on 2008-07-31 10:53 EST --
Created an attachment (id=313106)
oom messages

Comment 1 RHEL Program Management 2009-06-15 21:02:45 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Rik van Riel 2010-07-08 23:21:57 UTC
The test case (modified a little to run in my 1GB RAM virtual machine) has been running for the past 2 hours.  So far the VM seems unimpressed with the load :)

It helps that the mlocked pages are moved onto the unevictable list and the page cache and anonymous pages are both on their own lists.  Not having the 2/3 of memory that is mlocked getting in the way of the pageout scan really helps...

Comment 4 Rik van Riel 2010-07-09 03:14:04 UTC
After 7 hours of run time, the system is still doing fine.  I'll leave it running for several more days, but don't expect that RHEL 6 will need a fix for this issue.

Comment 5 Rik van Riel 2010-07-12 13:13:18 UTC
I guess I forgot to change the BZ status.  The bug appears to be fixed in RHEL 6 :)


Note You need to log in before you can comment on or make changes to this bug.