All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] Docker missing statistics
Date: Thu, 28 Jun 2018 10:45:49 +0300	[thread overview]
Message-ID: <20180628074549.k6juats7vknrs577@tarshish> (raw)
In-Reply-To: <CAM27=5itBcZ_H=CEzVUA2Ow8sfOztB76ekEeWZfMEn2y9MjYpA@mail.gmail.com>

Hi Roy,

On Thu, Jun 28, 2018 at 10:19:11AM +0300, Roy Arav wrote:
> I am running buildroot on raspberry Pi3 and I fail to see docker statistics.
> I can see CPU statistics but not memory nor network statistics.
> 
> Notes:
> 1. When running docker info I see the following warnings
> WARNING: No memory limit support
> WARNING: No swap limit support
> WARNING: No kernel memory limit support
> WARNING: No oom kill disable support

You need to enable memory control group (MEMCG) related kernel configuration 
options, and probably a few others. See 
https://github.com/moby/moby/issues/4250 . Note that CONFIG_MEMCG_KMEM is only 
for kernels older than 4.6. Newer kernels provide other config symbols for the 
same functionality.

This is not directly related to Buildroot though.

baruch

> 2.  I ran the following check script
> https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh
> and the result is that there are 2 kernel flags missing
> CONFIG_CGROUP_HUGETLB=y
> CONFIG_AUFS_FS=y
> 
> 3. I tried adding them and two more flags that I thought they might depend
> on:
> CONFIG_HUGETLBFS=y
> CONFIG_HUGETLB_PAGE=y
> 
> But from some reason they are not shown during runtime.
> 
> Any ideas?
> Thanks
> Roy

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

      parent reply	other threads:[~2018-06-28  7:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-28  7:19 [Buildroot] Docker missing statistics Roy Arav
2018-06-28  7:39 ` Thomas Petazzoni
2018-06-28  7:45 ` Baruch Siach [this message]

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=20180628074549.k6juats7vknrs577@tarshish \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.