Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. lots of Docker cgroup stats errors in collectd.log

lots of Docker cgroup stats errors in collectd.log

Scheduled Pinned Locked Moved Solved Support
collectd
4 Posts 3 Posters 1.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • rmdesR Offline
    rmdesR Offline
    rmdes
    wrote on last edited by girish
    #1

    I was hunting for errors in log files and opened /home/yellowtent/platformdata/collectd/collectd.log
    and found a looping error with a bunch of docker related stats :

    grc tail -f collectd.log
    [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/cpuacct/docker/b56b4b70255b56ee525ec4fde1270e883edf02004ad74c9f45b471acae66381a/cpuacct.stat": No such file or directory.
    [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/17d1a87b2d51ec25363c25c28cf7162d768c98cd55ccbc52ced9956be60177c5/memory.stat": No such file or directory.
    [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/17d1a87b2d51ec25363c25c28cf7162d768c98cd55ccbc52ced9956be60177c5/memory.max_usage_in_bytes": No such file or directory.
    [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/cpuacct/docker/17d1a87b2d51ec25363c25c28cf7162d768c98cd55ccbc52ced9956be60177c5/cpuacct.stat": No such file or directory.
    [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/233854ae0b305dda70224075e463401935d85c6ab17d870b4849390932d63340/memory.stat": No such file or directory.
    [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/233854ae0b305dda70224075e463401935d85c6ab17d870b4849390932d63340/memory.max_usage_in_bytes": No such file or directory.
    [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/cpuacct/docker/233854ae0b305dda70224075e463401935d85c6ab17d870b4849390932d63340/cpuacct.stat": No such file or directory.
    [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/e9f05fd49280fa6bd4c3029c74046b7a187bc3ca1e9b8e2c2ee08774dea77c56/memory.stat": No such file or directory.
    [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/e9f05fd49280fa6bd4c3029c74046b7a187bc3ca1e9b8e2c2ee08774dea77c56/memory.max_usage_in_bytes": No such file or directory.
    [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/cpuacct/docker/e9f05fd49280fa6bd4c3029c74046b7a187bc3ca1e9b8e2c2ee08774dea77c56/cpuacct.stat": No such file or directory.

    Not sure what's the cause of this but this keep feeding my collectd.log file

    anyone having the same ?

    robiR girishG 2 Replies Last reply
    0
    • rmdesR rmdes

      I was hunting for errors in log files and opened /home/yellowtent/platformdata/collectd/collectd.log
      and found a looping error with a bunch of docker related stats :

      grc tail -f collectd.log
      [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/cpuacct/docker/b56b4b70255b56ee525ec4fde1270e883edf02004ad74c9f45b471acae66381a/cpuacct.stat": No such file or directory.
      [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/17d1a87b2d51ec25363c25c28cf7162d768c98cd55ccbc52ced9956be60177c5/memory.stat": No such file or directory.
      [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/17d1a87b2d51ec25363c25c28cf7162d768c98cd55ccbc52ced9956be60177c5/memory.max_usage_in_bytes": No such file or directory.
      [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/cpuacct/docker/17d1a87b2d51ec25363c25c28cf7162d768c98cd55ccbc52ced9956be60177c5/cpuacct.stat": No such file or directory.
      [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/233854ae0b305dda70224075e463401935d85c6ab17d870b4849390932d63340/memory.stat": No such file or directory.
      [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/233854ae0b305dda70224075e463401935d85c6ab17d870b4849390932d63340/memory.max_usage_in_bytes": No such file or directory.
      [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/cpuacct/docker/233854ae0b305dda70224075e463401935d85c6ab17d870b4849390932d63340/cpuacct.stat": No such file or directory.
      [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/e9f05fd49280fa6bd4c3029c74046b7a187bc3ca1e9b8e2c2ee08774dea77c56/memory.stat": No such file or directory.
      [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/e9f05fd49280fa6bd4c3029c74046b7a187bc3ca1e9b8e2c2ee08774dea77c56/memory.max_usage_in_bytes": No such file or directory.
      [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/cpuacct/docker/e9f05fd49280fa6bd4c3029c74046b7a187bc3ca1e9b8e2c2ee08774dea77c56/cpuacct.stat": No such file or directory.

      Not sure what's the cause of this but this keep feeding my collectd.log file

      anyone having the same ?

      robiR Offline
      robiR Offline
      robi
      wrote on last edited by robi
      #2

      @rmdes I have no such log file there.
      Only collectd.conf and collectd.conf.d/ full of app .conf files.

      However

      in the collectd.conf file this line points to a different path

         File "/home/yellowtent/platformdata/logs/collectd/collectd.log"
      

      this is different from your path.

      Looking there:

      -rw-r--r--  1 yellowtent yellowtent 6.1M Nov  9 16:30 collectd.log
      -rw-r--r--  1 yellowtent yellowtent  11M Nov  7 06:25 collectd.log.1
      

      same errors.

      Conscious tech

      1 Reply Last reply
      0
      • rmdesR rmdes

        I was hunting for errors in log files and opened /home/yellowtent/platformdata/collectd/collectd.log
        and found a looping error with a bunch of docker related stats :

        grc tail -f collectd.log
        [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/cpuacct/docker/b56b4b70255b56ee525ec4fde1270e883edf02004ad74c9f45b471acae66381a/cpuacct.stat": No such file or directory.
        [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/17d1a87b2d51ec25363c25c28cf7162d768c98cd55ccbc52ced9956be60177c5/memory.stat": No such file or directory.
        [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/17d1a87b2d51ec25363c25c28cf7162d768c98cd55ccbc52ced9956be60177c5/memory.max_usage_in_bytes": No such file or directory.
        [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/cpuacct/docker/17d1a87b2d51ec25363c25c28cf7162d768c98cd55ccbc52ced9956be60177c5/cpuacct.stat": No such file or directory.
        [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/233854ae0b305dda70224075e463401935d85c6ab17d870b4849390932d63340/memory.stat": No such file or directory.
        [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/233854ae0b305dda70224075e463401935d85c6ab17d870b4849390932d63340/memory.max_usage_in_bytes": No such file or directory.
        [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/cpuacct/docker/233854ae0b305dda70224075e463401935d85c6ab17d870b4849390932d63340/cpuacct.stat": No such file or directory.
        [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/e9f05fd49280fa6bd4c3029c74046b7a187bc3ca1e9b8e2c2ee08774dea77c56/memory.stat": No such file or directory.
        [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/memory/docker/e9f05fd49280fa6bd4c3029c74046b7a187bc3ca1e9b8e2c2ee08774dea77c56/memory.max_usage_in_bytes": No such file or directory.
        [2020-11-09 16:17:49] table plugin: Failed to open file "/sys/fs/cgroup/cpuacct/docker/e9f05fd49280fa6bd4c3029c74046b7a187bc3ca1e9b8e2c2ee08774dea77c56/cpuacct.stat": No such file or directory.

        Not sure what's the cause of this but this keep feeding my collectd.log file

        anyone having the same ?

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        Ah, this happens because those apps are "stopped" and thus there are no metrics to collect.

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          This is fixed in the next release. Thanks for reporting!

          1 Reply Last reply
          2

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search