Bug 605717

Summary: disable memory cgroups on kdump
Product: Red Hat Enterprise Linux 6 Reporter: Neil Horman <nhorman>
Component: kexec-toolsAssignee: Neil Horman <nhorman>
Status: CLOSED CURRENTRELEASE QA Contact: Chao Ye <cye>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: caiqian, cye, phan
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: kexec-tools-2.0.0-85 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-10 21:00:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Neil Horman 2010-06-18 15:44:23 UTC
Description of problem:
the memory cgroup controller eats a significant portion of memory in the kernel, which is fine for nominal exection in most cases but can lead to oom conditions in kdump, we need to add cgroup_disable=memory to the kdump kernel command line.

Comment 1 RHEL Product and Program Management 2010-06-18 16:03:18 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

Comment 3 Chao Ye 2010-08-11 07:27:09 UTC
Verified with -133.el6:

[root@athlon5 ~]# cat /etc/sysconfig/kdump 
# Kernel Version string for the -kdump kernel, such as 2.6.13-1544.FC5kdump
# If no version is specified, then the init script will try to find a
# kdump kernel with the same version number as the running kernel.

# The kdump commandline is the command line that needs to be passed off to
# the kdump kernel.  This will likely match the contents of the grub kernel
# line.  For example:
# If a command line is not specified, the default will be taken from
# /proc/cmdline

# This variable lets us append arguments to the current kdump commandline
# As taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline
KDUMP_COMMANDLINE_APPEND="irqpoll maxcpus=1 reset_devices cgroup_disable=memory"

Comment 4 releng-rhel@redhat.com 2010-11-10 21:00:18 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.