Jump to content
  • [6.12.2] Can no longer set memory limits


    TheEyeTGuy
    • Urgent

    Hello,

    It seems with the changes made when moving to cgroups-v2, docker is no longer able to set memory limits for containers, or control swap.

     

    Whenever I edit, update, or add a container with memory limits applied, the following warnings appear:

     

    WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
    WARNING: Your kernel does not support memory swappiness capabilities or the cgroup is not mounted. Memory swappiness discarded.

     

    I understand swap has never been 'officially' supported, but it appears that its now completely broken for docker in 6.12.x (working prior in 6.11.5) as well as the memory control.




    User Feedback

    Recommended Comments

    Also seeing this issue in 6.12.2

    There is this post which is related.

    I'm also seeing issues with networking,

    Started Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to create new parent process: namespace path: lstat /proc/14548/ns/net: no such file or directory: unknown

    Edited by thatonething
    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.

×
×
  • Create New...