Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#35681 - [linux] Can't read/write memory.memsw.* cgroup files

Attached to Project: Arch Linux
Opened by Garrett Smith (gar1t) - Thursday, 06 June 2013, 18:33 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 06 June 2013, 21:08 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

It's not possible to configure memory swap limits for cgroups as of 3.9.4-1.

This outlines the issue:

http://lkml.indiana.edu/hypermail/linux/kernel/1206.3/01303.html

The fix is to enable CONFIG_MEMCG_SWAP_ENABLED, which is currently not enabled:

https://projects.archlinux.org/svntogit/packages.git/tree/trunk/config.x86_64?h=packages/linux#n152
This task depends upon

Closed by  Thomas Bächler (brain0)
Thursday, 06 June 2013, 21:08 GMT
Reason for closing:  Not a bug
Comment by Thomas Bächler (brain0) - Thursday, 06 June 2013, 21:08 GMT
Enabling swap accounting has a high price. If you need it, enable it using the 'swapaccount=1' command line option - the reasoning behind this is detailed in the help of the CONFIG_MEMCG_SWAP_ENABLED ("Memory Resource Controller Swap Extension enabled by default") option.

Loading...