[Buildroot] Docker missing statistics
Baruch Siach
baruch at tkos.co.il
Thu Jun 28 07:45:49 UTC 2018
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 -
More information about the buildroot
mailing list