Red Hat Bugzilla – Bug 982808
Enable memory cgroup swap accounting on Fedora 19
Last modified: 2014-06-18 03:25:48 EDT
Description of problem:
Related to Bug 918951. OpenShift requires memory.memsw.* in Fedora 19
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try to use memory.memsw.* in Fedora 19
Controller is not enabled
Controller is enabled and memory.memsw.* exists
You should be able to enable this with 'swapaccount=1' on the kernel parameter line.
I can do that but prefer to have this turned on by default.
Please see Dianel's argument in the linked bug.
OpenShift uses containers to isolate applications and simply setting a memory limit without a swap limit is not sufficient. I would like to see this functionality enabled by default in the kernel unless there is a big downside to it being present.
It wasn't clear from the original bug that this was something required for Fedora 19, so we didn't enable it there. Given that we enabled it in rawhide during the 3.10 kernel development window, we'll probably wait until F19 is rebased to 3.10.
Tested with 3.10.5-201.fc19.x86_64 and the controller is still missing but default in Fedora 19.
(In reply to Krishna Raman from comment #4)
> Tested with 3.10.5-201.fc19.x86_64 and the controller is still missing but
> default in Fedora 19.
That should be:
The controller is still missing on a base installation of Fedora 19.
Thanks for the reminder. I've made the change and it should show up in the next update.
kernel-3.10.7-200.fc19 has been submitted as an update for Fedora 19.
kernel-3.10.7-100.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.10.7-200.fc19'
as soon as you are able to, then reboot.
Please go to the following url:
then log in and leave karma (feedback).
kernel-3.10.7-100.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
kernel-3.10.7-200.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.