oijkn / Docker-Raspberry-PI-Monitoring

A docker-compose stack solution for monitoring host and containers with Prometheus, Grafana, cAdvisor and NodeExporter.
MIT License
363 stars 55 forks source link

ERROR: for monitoring-grafana with piOS lite bullseye #7

Closed DamianMatysko closed 2 years ago

DamianMatysko commented 2 years ago

hello, I just follow the readme file and this happened... Please advise me what to do.

image

oijkn commented 2 years ago

@DamianMatysko you have to edit the docker-compose.yml file with the good path for grafana. In my exemple I just wrote /path/to/your/grafana/data:/var/lib/grafana

DamianMatysko commented 2 years ago

Thanks for your reply! I passed through several issues and still I'm not sure if everything runs as it should. I Changed the cadvisor because the console says something like Cannot determine CPU... and it runs, looks like, but I didn't see any changes in the graph console when I Run/Stop the container. Console of cadvisor has output:

image

This is how I change image:

image

I'm using Raspberry pi 4 8gb with piOS lite bullseye blabla with SSH connection and this is what I see on grafana:

image image

The number of the containers displayed incorrectly but now it works somehow and once my raspberry stopped broke down when I wasn't behind the pc.

The question is if cadvisor runs correctly, do I need that connection to Rkt api service and how to resolve this issue?

oijkn commented 2 years ago

@DamianMatysko Sorry but I don't use piOS lite bullseye so the best thing to do is to ask for help on their forum.

martadinata666 commented 2 years ago

Few things i can suggest is:

  1. Use newer image
    image: zcube/cadvisor:latest
  2. Add this at the end cmdline.txt /boot/cmdline.txt
    systemd.unified_cgroup_hierarchy=0 cgroup_enable=memory cgroup_memory=1

    Number is to revert cgroups to version 1. As bullseye default to version 2.

skyajal commented 2 years ago

I saw similar issues using Pi OS 64 bit lite bullseye. To remedy this I used the suggestions made above with some additional tweaks that is commonly used for Kubernetes on Raspberry Pi.

/boot/cmdline.txt has the following settings added:

systemd.unified_cgroup_hierarchy=0 cgroup_enable=memory swapaccount=1 cgroup_memory=1 cgroup_enable=cpuset

Additionally, add the following to /etc/docker/daemon.json

{
  "exec-opts": ["native.cgroupdriver=systemd"],
  "log-driver": "json-file",
  "log-opts": {
    "max-size": "100m"
 }

This tells docker to use systemd as a cgroups driver. Adding these settings allowed all graphs to be properly populated. Specifically, the Memory RSS, Used memory and Memory usage graphs.

The number of containers will eventually settle down on it's own so no need to change anything for that.

oijkn commented 2 years ago

@skyajal there is an typo error in your example. This is the good syntax :

{
  "exec-opts": ["native.cgroupdriver=systemd"],
  "log-driver": "json-file",
  "log-opts": {
    "max-size": "100m"
  }
}
oijkn commented 2 years ago

Closing this issue without any response.

iAmSaugata commented 2 years ago

@skyajal I am on PiOS Like 64 Bit, no data coming form cadvisor, and it is getting failed, I have used the configuration you mentioned earlier, do you have any idea how to fix it?

skyajal commented 2 years ago

Hi,

How did you determine you are not getting any data from cadvisor? The suggestion I made is not related to cadvisor directly but rather help with cgroups. We would need a little more context about your issue. There is not enough information here to troubleshoot your issue. Additionally, this is not my project. :) I will let @oijkn decide how to handle your request.

Thanks!

On Wed, Mar 16, 2022 at 3:59 AM Saugata Datta @.***> wrote:

@skyajal https://github.com/skyajal I am on PiOS Like 64 Bit, no data coming form cadvisor, and it is getting failed, I have used the configuration you mentioned earlier, do you have any idea how to fix it?

— Reply to this email directly, view it on GitHub https://github.com/oijkn/Docker-Raspberry-PI-Monitoring/issues/7#issuecomment-1068837067, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVXVXCGUYRQFLZUMHJOVPLVAGIE3ANCNFSM5IW24JXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

iAmSaugata commented 2 years ago

Hi, How did you determine you are not getting any data from cadvisor? The suggestion I made is not related to cadvisor directly but rather help with cgroups. We would need a little more context about your issue. There is not enough information here to troubleshoot your issue. Additionally, this is not my project. :) I will let @oijkn decide how to handle your request. Thanks! On Wed, Mar 16, 2022 at 3:59 AM Saugata Datta @.> wrote: @skyajal https://github.com/skyajal I am on PiOS Like 64 Bit, no data coming form cadvisor, and it is getting failed, I have used the configuration you mentioned earlier, do you have any idea how to fix it? — Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVXVXCGUYRQFLZUMHJOVPLVAGIE3ANCNFSM5IW24JXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.>

Hi, Thanks for your response. I am just asking help to everyone, and it looks like you had some issues, hence I have asked for your opinion.

To check if cadvisor is getting any data, I have also published it port to outside, and I can see, it is collecting data, but not everything.

cadvisor01

but while trying to access individual container data from process, it is throwing this error.

failed to get container "/docker-8c01dc5b893a7e67d5fa12416d5457993bf01e4c94590b069bd115da9746a5ee.scope" with error: unknown container "/docker-8c01dc5b893a7e67d5fa12416d5457993bf01e4c94590b069bd115da9746a5ee.scope"

I am also keep getting this error in the cadvisor container.

/usr/lib/go/src/runtime/asm_arm64.s:1133], continuing to push stats W0316 14:20:09.873111 1 container.go:586] Failed to update stats for container "/system.slice/docker-c1a47eb769cdb04da3071d4773bd1c5edafff36c9ae0e23efc1ab838feda1004.scope": error while statting cgroup v2: [open /sys/kernel/mm/hugepages: no such file or directory failed to fetch hugetlb info github.com/opencontainers/runc/libcontainer/cgroups/fs2.statHugeTlb /go/pkg/mod/github.com/opencontainers/runc@v1.0.0-rc95/libcontainer/cgroups/fs2/hugetlb.go:35 github.com/opencontainers/runc/libcontainer/cgroups/fs2.(manager).GetStats /go/pkg/mod/github.com/opencontainers/runc@v1.0.0-rc95/libcontainer/cgroups/fs2/fs2.go:125 github.com/google/cadvisor/container/libcontainer.(Handler).GetStats /go/src/github.com/google/cadvisor/container/libcontainer/handler.go:83 github.com/google/cadvisor/container/docker.(dockerContainerHandler).GetStats /go/src/github.com/google/cadvisor/container/docker/handler.go:460 github.com/google/cadvisor/manager.(containerData).updateStats /go/src/github.com/google/cadvisor/manager/container.go:637 github.com/google/cadvisor/manager.(containerData).housekeepingTick /go/src/github.com/google/cadvisor/manager/container.go:583 github.com/google/cadvisor/manager.(containerData).housekeeping /go/src/github.com/google/cadvisor/manager/container.go:531 runtime.goexit /usr/lib/go/src/runtime/asm_arm64.s:1133], continuing to push stats W0316 14:20:10.337453 1 manager.go:696] Error getting data for container /system.slice/docker-c1a47eb769cdb04da3071d4773bd1c5edafff36c9ae0e23efc1ab838feda1004.scope because of race condition W0316 14:20:10.338073 1 manager.go:696] Error getting data for container /system.slice/docker-2ab6a6dbc25e7f696096406a53cf17a84e220a2fa0a733c9971f8eba4acc2aa7.scope because of race condition W0316 14:20:10.338642 1 manager.go:696] Error getting data for container /system.slice/docker-8214be662772b232ddf894a0a148046d890ef0ebd6c0aac0c1357a1e34dcaeaf.scope because of race condition W0316 14:20:10.339192 1 manager.go:696] Error getting data for container /system.slice/docker-bc086bdffefc5fcb26a585393fea83aa2c34b7086fb0a3ed4d0bc3bb50f14acb.scope because of race condition W0316 14:20:10.339761 1 manager.go:696] Error getting data for container /system.slice/docker-c61287ce849434b69cb6d3b0c65d9e913b15a2c9c6f99a0b5a4c15cac409404f.scope because of race condition W0316 14:20:10.341297 1 manager.go:696] Error getting data for container /system.slice/docker-91fc4c0d91cbf1006e32a05b411cdd93256df1cd81e0941a55152fe32f60d7cd.scope because of race condition W0316 14:20:10.341861 1 manager.go:696] Error getting data for container /system.slice/docker-6fd738388b5bc9ba4ef77d193976a760d2ee89d3bb7414c65c7fa53ae320231b.scope because of race condition W0316 14:20:10.342397 1 manager.go:696] Error getting data for container /system.slice/docker-e5dc78565eabaf33e8c9fafee9fdc258a51675cad55c62b72853cf829b6015b7.scope because of race condition W0316 14:20:10.343051 1 manager.go:696] Error getting data for container /system.slice/docker-8c01dc5b893a7e67d5fa12416d5457993bf01e4c94590b069bd115da9746a5ee.scope because of race condition W0316 14:20:10.343590 1 manager.go:696] Error getting data for container /system.slice/docker-2b893059e92263d4eedc1510749edece6f4ca649b555516f59402911208ce5c0.scope because of race condition W0316 14:20:10.344227 1 manager.go:696] Error getting data for container /system.slice/docker-f2b795d2640bbd5a9ccd5e8fbdecc84aa3c2f5590c2b08dcf5700b908d6b0a79.scope because of race condition W0316 14:20:12.244963 1 container.go:586] Failed to update stats for container "/system.slice/docker-8214be662772b232ddf894a0a148046d890ef0ebd6c0aac0c1357a1e34dcaeaf.scope": error while statting cgroup v2: [open /sys/kernel/mm/hugepages: no such file or directory failed to fetch hugetlb info github.com/opencontainers/runc/libcontainer/cgroups/fs2.statHugeTlb /go/pkg/mod/github.com/opencontainers/runc@v1.0.0-rc95/libcontainer/cgroups/fs2/hugetlb.go:35 github.com/opencontainers/runc/libcontainer/cgroups/fs2.(manager).GetStats /go/pkg/mod/github.com/opencontainers/runc@v1.0.0-rc95/libcontainer/cgroups/fs2/fs2.go:125 github.com/google/cadvisor/container/libcontainer.(Handler).GetStats /go/src/github.com/google/cadvisor/container/libcontainer/handler.go:83 github.com/google/cadvisor/container/docker.(dockerContainerHandler).GetStats /go/src/github.com/google/cadvisor/container/docker/handler.go:460 github.com/google/cadvisor/manager.(containerData).updateStats /go/src/github.com/google/cadvisor/manager/container.go:637 github.com/google/cadvisor/manager.(containerData).housekeepingTick /go/src/github.com/google/cadvisor/manager/container.go:583 github.com/google/cadvisor/manager.(containerData).housekeeping /go/src/github.com/google/cadvisor/manager/container.go:531 runtime.goexit /usr/lib/go/src/runtime/asm_arm64.s:1133], continuing to push stats

skyajal commented 2 years ago

Hello,

Unfortunately I am not going to be much help in this case. Since the errors you are seeing are specific to cadvisor, your best chance for help on this would be to check with cadvisor maintainers. I found this thread that seems similar to your issue. https://github.com/google/cadvisor/issues/3011 This seems to be a known issue.

Thanks!

On Wed, Mar 16, 2022 at 10:31 AM Saugata Datta @.***> wrote:

Hi, How did you determine you are not getting any data from cadvisor? The suggestion I made is not related to cadvisor directly but rather help with cgroups. We would need a little more context about your issue. There is not enough information here to troubleshoot your issue. Additionally, this is not my project. :) I will let @oijkn https://github.com/oijkn decide how to handle your request. Thanks! … <#m-4092692262520551586> On Wed, Mar 16, 2022 at 3:59 AM Saugata Datta @.> wrote: @skyajal https://github.com/skyajal https://github.com/skyajal https://github.com/skyajal I am on PiOS Like 64 Bit, no data coming form cadvisor, and it is getting failed, I have used the configuration you mentioned earlier, do you have any idea how to fix it? — Reply to this email directly, view it on GitHub <#7 (comment) https://github.com/oijkn/Docker-Raspberry-PI-Monitoring/issues/7#issuecomment-1068837067>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVXVXCGUYRQFLZUMHJOVPLVAGIE3ANCNFSM5IW24JXA https://github.com/notifications/unsubscribe-auth/ACVXVXCGUYRQFLZUMHJOVPLVAGIE3ANCNFSM5IW24JXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.>

Hi, Thanks for your response. I am just asking help to everyone, and it looks like you had some issues, hence I have asked for your opinion.

To check if cadvisor is getting any data, I have also published it port to outside, and I can see, it is collecting data, but not everything.

[image: cadvisor01] https://user-images.githubusercontent.com/26755120/158612836-e41b9dc9-28e2-4dd9-b6e1-9ae553d7991e.png

but while trying to access individual container data from process, it is throwing this error.

failed to get container "/docker-8c01dc5b893a7e67d5fa12416d5457993bf01e4c94590b069bd115da9746a5ee.scope" with error: unknown container "/docker-8c01dc5b893a7e67d5fa12416d5457993bf01e4c94590b069bd115da9746a5ee.scope" I am also keep getting this error in the cadvisor container.

/usr/lib/go/src/runtime/asm_arm64.s:1133], continuing to push stats

W0316 14:20:09.873111 1 container.go:586] Failed to update stats for container "/system.slice/docker-c1a47eb769cdb04da3071d4773bd1c5edafff36c9ae0e23efc1ab838feda1004.scope": error while statting cgroup v2: [open /sys/kernel/mm/hugepages: no such file or directory failed to fetch hugetlb info github.com/opencontainers/runc/libcontainer/cgroups/fs2.statHugeTlb /go/pkg/mod/ @./libcontainer/cgroups/fs2/hugetlb.go:35 github.com/opencontainers/runc/libcontainer/cgroups/fs2.(manager).GetStats /go/pkg/mod/ **@.**/libcontainer/cgroups/fs2/fs2.go:125 github.com/google/cadvisor/container/libcontainer.(Handler).GetStats /go/src/github.com/google/cadvisor/container/libcontainer/handler.go:83

github.com/google/cadvisor/container/docker.(dockerContainerHandler).GetStats /go/src/github.com/google/cadvisor/container/docker/handler.go:460 github.com/google/cadvisor/manager.(containerData).updateStats /go/src/github.com/google/cadvisor/manager/container.go:637 github.com/google/cadvisor/manager.(containerData).housekeepingTick /go/src/github.com/google/cadvisor/manager/container.go:583 github.com/google/cadvisor/manager.(containerData).housekeeping /go/src/github.com/google/cadvisor/manager/container.go:531 runtime.goexit /usr/lib/go/src/runtime/asm_arm64.s:1133], continuing to push stats W0316 14:20:10.337453 1 manager.go:696] Error getting data for container /system.slice/docker-c1a47eb769cdb04da3071d4773bd1c5edafff36c9ae0e23efc1ab838feda1004.scope because of race condition W0316 14:20:10.338073 1 manager.go:696] Error getting data for container /system.slice/docker-2ab6a6dbc25e7f696096406a53cf17a84e220a2fa0a733c9971f8eba4acc2aa7.scope because of race condition W0316 14:20:10.338642 1 manager.go:696] Error getting data for container /system.slice/docker-8214be662772b232ddf894a0a148046d890ef0ebd6c0aac0c1357a1e34dcaeaf.scope because of race condition W0316 14:20:10.339192 1 manager.go:696] Error getting data for container /system.slice/docker-bc086bdffefc5fcb26a585393fea83aa2c34b7086fb0a3ed4d0bc3bb50f14acb.scope because of race condition W0316 14:20:10.339761 1 manager.go:696] Error getting data for container /system.slice/docker-c61287ce849434b69cb6d3b0c65d9e913b15a2c9c6f99a0b5a4c15cac409404f.scope because of race condition W0316 14:20:10.341297 1 manager.go:696] Error getting data for container /system.slice/docker-91fc4c0d91cbf1006e32a05b411cdd93256df1cd81e0941a55152fe32f60d7cd.scope because of race condition W0316 14:20:10.341861 1 manager.go:696] Error getting data for container /system.slice/docker-6fd738388b5bc9ba4ef77d193976a760d2ee89d3bb7414c65c7fa53ae320231b.scope because of race condition W0316 14:20:10.342397 1 manager.go:696] Error getting data for container /system.slice/docker-e5dc78565eabaf33e8c9fafee9fdc258a51675cad55c62b72853cf829b6015b7.scope because of race condition W0316 14:20:10.343051 1 manager.go:696] Error getting data for container /system.slice/docker-8c01dc5b893a7e67d5fa12416d5457993bf01e4c94590b069bd115da9746a5ee.scope because of race condition W0316 14:20:10.343590 1 manager.go:696] Error getting data for container /system.slice/docker-2b893059e92263d4eedc1510749edece6f4ca649b555516f59402911208ce5c0.scope because of race condition W0316 14:20:10.344227 1 manager.go:696] Error getting data for container /system.slice/docker-f2b795d2640bbd5a9ccd5e8fbdecc84aa3c2f5590c2b08dcf5700b908d6b0a79.scope because of race condition W0316 14:20:12.244963 1 container.go:586] Failed to update stats for container "/system.slice/docker-8214be662772b232ddf894a0a148046d890ef0ebd6c0aac0c1357a1e34dcaeaf.scope": error while statting cgroup v2: [open /sys/kernel/mm/hugepages: no such file or directory failed to fetch hugetlb info github.com/opencontainers/runc/libcontainer/cgroups/fs2.statHugeTlb /go/pkg/mod/ @./libcontainer/cgroups/fs2/hugetlb.go:35 github.com/opencontainers/runc/libcontainer/cgroups/fs2.(manager).GetStats /go/pkg/mod/ **@.**/libcontainer/cgroups/fs2/fs2.go:125 github.com/google/cadvisor/container/libcontainer.(Handler).GetStats /go/src/github.com/google/cadvisor/container/libcontainer/handler.go:83

github.com/google/cadvisor/container/docker.(dockerContainerHandler).GetStats /go/src/github.com/google/cadvisor/container/docker/handler.go:460 github.com/google/cadvisor/manager.(containerData).updateStats /go/src/github.com/google/cadvisor/manager/container.go:637 github.com/google/cadvisor/manager.(containerData).housekeepingTick /go/src/github.com/google/cadvisor/manager/container.go:583 github.com/google/cadvisor/manager.(containerData).housekeeping /go/src/github.com/google/cadvisor/manager/container.go:531 runtime.goexit /usr/lib/go/src/runtime/asm_arm64.s:1133], continuing to push stats

— Reply to this email directly, view it on GitHub https://github.com/oijkn/Docker-Raspberry-PI-Monitoring/issues/7#issuecomment-1069193463, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVXVXEUF7UIJKKEKZJ74S3VAHWDXANCNFSM5IW24JXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

iAmSaugata commented 2 years ago

Hi, Thanks for this, I already saw this, but I was not very confident about building my own docker image, as I am very new to docker, but later decide to give it a try and I build my own docker image. It is now reporting most of the information. let's run it for some time.

[cid:99370083-443c-485c-81ba-fd7e3df8bbdd]

Regards, Saugata D.


From: Sky Lenzen @.> Sent: Wednesday, March 16, 2022 8:32 PM To: oijkn/Docker-Raspberry-PI-Monitoring @.> Cc: Saugata Datta @.>; Comment @.> Subject: Re: [oijkn/Docker-Raspberry-PI-Monitoring] ERROR: for monitoring-grafana with piOS lite bullseye (Issue #7)

Hello,

Unfortunately I am not going to be much help in this case. Since the errors you are seeing are specific to cadvisor, your best chance for help on this would be to check with cadvisor maintainers. I found this thread that seems similar to your issue. https://github.com/google/cadvisor/issues/3011 This seems to be a known issue.

Thanks!

On Wed, Mar 16, 2022 at 10:31 AM Saugata Datta @.***> wrote:

Hi, How did you determine you are not getting any data from cadvisor? The suggestion I made is not related to cadvisor directly but rather help with cgroups. We would need a little more context about your issue. There is not enough information here to troubleshoot your issue. Additionally, this is not my project. :) I will let @oijkn https://github.com/oijkn decide how to handle your request. Thanks! … <#m-4092692262520551586> On Wed, Mar 16, 2022 at 3:59 AM Saugata Datta @.> wrote: @skyajal https://github.com/skyajal https://github.com/skyajal https://github.com/skyajal I am on PiOS Like 64 Bit, no data coming form cadvisor, and it is getting failed, I have used the configuration you mentioned earlier, do you have any idea how to fix it? — Reply to this email directly, view it on GitHub <#7 (comment) https://github.com/oijkn/Docker-Raspberry-PI-Monitoring/issues/7#issuecomment-1068837067>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVXVXCGUYRQFLZUMHJOVPLVAGIE3ANCNFSM5IW24JXA https://github.com/notifications/unsubscribe-auth/ACVXVXCGUYRQFLZUMHJOVPLVAGIE3ANCNFSM5IW24JXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.>

Hi, Thanks for your response. I am just asking help to everyone, and it looks like you had some issues, hence I have asked for your opinion.

To check if cadvisor is getting any data, I have also published it port to outside, and I can see, it is collecting data, but not everything.

[image: cadvisor01] https://user-images.githubusercontent.com/26755120/158612836-e41b9dc9-28e2-4dd9-b6e1-9ae553d7991e.png

but while trying to access individual container data from process, it is throwing this error.

failed to get container "/docker-8c01dc5b893a7e67d5fa12416d5457993bf01e4c94590b069bd115da9746a5ee.scope" with error: unknown container "/docker-8c01dc5b893a7e67d5fa12416d5457993bf01e4c94590b069bd115da9746a5ee.scope" I am also keep getting this error in the cadvisor container.

/usr/lib/go/src/runtime/asm_arm64.s:1133], continuing to push stats

W0316 14:20:09.873111 1 container.go:586] Failed to update stats for container "/system.slice/docker-c1a47eb769cdb04da3071d4773bd1c5edafff36c9ae0e23efc1ab838feda1004.scope": error while statting cgroup v2: [open /sys/kernel/mm/hugepages: no such file or directory failed to fetch hugetlb info github.com/opencontainers/runc/libcontainer/cgroups/fs2.statHugeTlb /go/pkg/mod/ @./libcontainer/cgroups/fs2/hugetlb.go:35 github.com/opencontainers/runc/libcontainer/cgroups/fs2.(manager).GetStats /go/pkg/mod/ **@.**/libcontainer/cgroups/fs2/fs2.go:125 github.com/google/cadvisor/container/libcontainer.(Handler).GetStats /go/src/github.com/google/cadvisor/container/libcontainer/handler.go:83

github.com/google/cadvisor/container/docker.(dockerContainerHandler).GetStats /go/src/github.com/google/cadvisor/container/docker/handler.go:460 github.com/google/cadvisor/manager.(containerData).updateStats /go/src/github.com/google/cadvisor/manager/container.go:637 github.com/google/cadvisor/manager.(containerData).housekeepingTick /go/src/github.com/google/cadvisor/manager/container.go:583 github.com/google/cadvisor/manager.(containerData).housekeeping /go/src/github.com/google/cadvisor/manager/container.go:531 runtime.goexit /usr/lib/go/src/runtime/asm_arm64.s:1133], continuing to push stats W0316 14:20:10.337453 1 manager.go:696] Error getting data for container /system.slice/docker-c1a47eb769cdb04da3071d4773bd1c5edafff36c9ae0e23efc1ab838feda1004.scope because of race condition W0316 14:20:10.338073 1 manager.go:696] Error getting data for container /system.slice/docker-2ab6a6dbc25e7f696096406a53cf17a84e220a2fa0a733c9971f8eba4acc2aa7.scope because of race condition W0316 14:20:10.338642 1 manager.go:696] Error getting data for container /system.slice/docker-8214be662772b232ddf894a0a148046d890ef0ebd6c0aac0c1357a1e34dcaeaf.scope because of race condition W0316 14:20:10.339192 1 manager.go:696] Error getting data for container /system.slice/docker-bc086bdffefc5fcb26a585393fea83aa2c34b7086fb0a3ed4d0bc3bb50f14acb.scope because of race condition W0316 14:20:10.339761 1 manager.go:696] Error getting data for container /system.slice/docker-c61287ce849434b69cb6d3b0c65d9e913b15a2c9c6f99a0b5a4c15cac409404f.scope because of race condition W0316 14:20:10.341297 1 manager.go:696] Error getting data for container /system.slice/docker-91fc4c0d91cbf1006e32a05b411cdd93256df1cd81e0941a55152fe32f60d7cd.scope because of race condition W0316 14:20:10.341861 1 manager.go:696] Error getting data for container /system.slice/docker-6fd738388b5bc9ba4ef77d193976a760d2ee89d3bb7414c65c7fa53ae320231b.scope because of race condition W0316 14:20:10.342397 1 manager.go:696] Error getting data for container /system.slice/docker-e5dc78565eabaf33e8c9fafee9fdc258a51675cad55c62b72853cf829b6015b7.scope because of race condition W0316 14:20:10.343051 1 manager.go:696] Error getting data for container /system.slice/docker-8c01dc5b893a7e67d5fa12416d5457993bf01e4c94590b069bd115da9746a5ee.scope because of race condition W0316 14:20:10.343590 1 manager.go:696] Error getting data for container /system.slice/docker-2b893059e92263d4eedc1510749edece6f4ca649b555516f59402911208ce5c0.scope because of race condition W0316 14:20:10.344227 1 manager.go:696] Error getting data for container /system.slice/docker-f2b795d2640bbd5a9ccd5e8fbdecc84aa3c2f5590c2b08dcf5700b908d6b0a79.scope because of race condition W0316 14:20:12.244963 1 container.go:586] Failed to update stats for container "/system.slice/docker-8214be662772b232ddf894a0a148046d890ef0ebd6c0aac0c1357a1e34dcaeaf.scope": error while statting cgroup v2: [open /sys/kernel/mm/hugepages: no such file or directory failed to fetch hugetlb info github.com/opencontainers/runc/libcontainer/cgroups/fs2.statHugeTlb /go/pkg/mod/ @./libcontainer/cgroups/fs2/hugetlb.go:35 github.com/opencontainers/runc/libcontainer/cgroups/fs2.(manager).GetStats /go/pkg/mod/ **@.**/libcontainer/cgroups/fs2/fs2.go:125 github.com/google/cadvisor/container/libcontainer.(Handler).GetStats /go/src/github.com/google/cadvisor/container/libcontainer/handler.go:83

github.com/google/cadvisor/container/docker.(dockerContainerHandler).GetStats /go/src/github.com/google/cadvisor/container/docker/handler.go:460 github.com/google/cadvisor/manager.(containerData).updateStats /go/src/github.com/google/cadvisor/manager/container.go:637 github.com/google/cadvisor/manager.(containerData).housekeepingTick /go/src/github.com/google/cadvisor/manager/container.go:583 github.com/google/cadvisor/manager.(containerData).housekeeping /go/src/github.com/google/cadvisor/manager/container.go:531 runtime.goexit /usr/lib/go/src/runtime/asm_arm64.s:1133], continuing to push stats

— Reply to this email directly, view it on GitHub https://github.com/oijkn/Docker-Raspberry-PI-Monitoring/issues/7#issuecomment-1069193463, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVXVXEUF7UIJKKEKZJ74S3VAHWDXANCNFSM5IW24JXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Foijkn%2FDocker-Raspberry-PI-Monitoring%2Fissues%2F7%23issuecomment-1069223565&data=04%7C01%7C%7C6ef295775ff247f8a52f08da075ded03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637830397239409915%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=wwExB2gv0VR7o05%2FpecJ8IyviyUyw5tJLzk2mzuST8g%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGMEAMAO7INSELBJI3I642DVAHZWRANCNFSM5IW24JXA&data=04%7C01%7C%7C6ef295775ff247f8a52f08da075ded03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637830397239409915%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=QndyyOkdNEE3vEMXyVS4nWIkV%2B1zQrNtWLtDnRzRP3s%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7C%7C6ef295775ff247f8a52f08da075ded03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637830397239409915%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=o0xzTHmwo2ixv5ToExOR8buxVAPsKyqHQ0OgaJJtdu8%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7C%7C6ef295775ff247f8a52f08da075ded03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637830397239409915%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=qWFZKtYmsTlVUEK84Y%2FyueHz5Tq6GPqf5zoa9XWnom8%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>