Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory and swap accounting steps are for ubuntu only #2562

Closed
pvnovarese opened this issue Mar 30, 2017 · 6 comments

Comments

Projects
None yet
5 participants
@pvnovarese
Copy link
Contributor

commented Mar 30, 2017

#File: engine/installation/linux/linux-postinstall.md, CC @mstanleyjones

Log into Ubuntu as a user with sudo privileges.
Edit the /etc/default/grub file.
Add or edit the GRUB_CMDLINE_LINUX line to add the following two key-value pairs:
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
Save and close the file.
Update GRUB.
$ sudo update-grub
If your GRUB configuration file has incorrect syntax, an error will occur. In this case, repeat steps 3 and 4.
Reboot your system. Memory and swap accounting are enabled and the warning does not occur.

There's no explanation of the equivelent steps for RHEL-based systems.

@mistyhacks

This comment has been minimized.

Copy link
Contributor

commented Mar 30, 2017

I am not even 100% sure we should have those instructions for Ubuntu! Maybe we should just tell them they might have to do it, and to refer to their OS docs for how. WDYT @thaJeztah ?

@mistyhacks mistyhacks self-assigned this Mar 30, 2017

@thaJeztah

This comment has been minimized.

Copy link
Member

commented Apr 1, 2017

Hm, tough one; in a way, I agree with referring to their distros docs, but it can save a lot of time having the information ready. The times i've seen this configuration needed was all on Ubuntu/Debian.

@pvnovarese Is this configuration change needed on a default RHEL install?

@mistyhacks

This comment has been minimized.

Copy link
Contributor

commented Aug 1, 2017

This doesn't apply to RHEL because RH changed the kernel in 3.10.7 to enable these features by default.

@mistyhacks

This comment has been minimized.

Copy link
Contributor

commented Aug 1, 2017

Closed via #4070

@mistyhacks mistyhacks closed this Aug 1, 2017

@karniemi

This comment has been minimized.

Copy link

commented Nov 6, 2018

@mistyhacks

This doesn't apply to RHEL because RH changed the kernel in 3.10.7 to enable these features by default.

3.10.7? Now, a year later, the latest stable kernel for RHEL server is kernel-3.10.0-957.el7.x86_64.rpm. There's probably something that I'm missing.

@karniemi

This comment has been minimized.

Copy link

commented Nov 7, 2018

karniemi unassigned mistyhacks 20 hours ago

I did what?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.