cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: donoban <donoban@riseup.net>
To: cgroups@vger.kernel.org
Subject: EOPNOTSUPP while trying to enable memory on cgroup.subtree_control
Date: Thu, 7 Dec 2023 11:25:09 +0000	[thread overview]
Message-ID: <rare3lakkfrp7lkcfosuhivot6vuwuuwkgj74bbzmsjjpgwkt7@udo2e6layb3d> (raw)

Hi,

Since some weeks ago 'docker stats' is not showing memory and io:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/15506

After trying to fix it I noticed this behaviour:
  /sys/fs/cgroup/docker/cgroup.controllers has:
    cpuset cpu io memory hugetlb pids
but trying:
  echo +memory > /sys/fs/cgroup/docker/cgroup.subtree_control results:
write(1, "+memory\n", 8)                = -1 EOPNOTSUPP (Not supported)

'cgroup.type' is "domain threaded", I'm not sure if it affects.


Any clue? Is there some bug here or could be some problem with kernel
build/config?

Thanks!

             reply	other threads:[~2023-12-07 11:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-07 11:25 donoban [this message]
2023-12-07 16:37 ` EOPNOTSUPP while trying to enable memory on cgroup.subtree_control Michal Koutný
2023-12-16  9:39   ` donoban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rare3lakkfrp7lkcfosuhivot6vuwuuwkgj74bbzmsjjpgwkt7@udo2e6layb3d \
    --to=donoban@riseup.net \
    --cc=cgroups@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).