[systemd-bugs] [Bug 78738] DOC: Setting MemoryLimit does not imply "MemoryAccounting=true"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 23 23:56:38 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78738

Lennart Poettering <lennart at poettering.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Setting MemoryLimit does    |DOC: Setting MemoryLimit
                   |not imply                   |does not imply
                   |"MemoryAccounting=true"     |"MemoryAccounting=true"

--- Comment #1 from Lennart Poettering <lennart at poettering.net> ---
Note that setting MemoryLimit= effectively turns on MemoryAccounting= but it
won't show it with "systemctl show", since that actually shows the original
MemoryAccounting= setting.

Or in other words, there's a distinction between the MemoryAccounting= setting
(which is unaffected by MemoryLimit=, as you experienced), and the actual
memory accounting which is turned on in the kernel either by using
MemoryAccounting= or by MemoryLimit=. If you follow wht I mean.

Anyway, this is actually intended behaviour, but certainly something we could
document better. Hence renaming the bug accordingly.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140524/be0b9afe/attachment.html>


More information about the systemd-bugs mailing list