Coder Social home page Coder Social logo

Comments (5)

ilyam8 avatar ilyam8 commented on June 14, 2024

Hey, @ptr727. We need more info.

  • Your docker run/compose configuration. Did you just use Recommended Way? If not, please share your config/diff vs recommended way.
  • You will need to do more debugging yourself because I can't reproduce using "Steps to reproduce" - see how to do it using htop.
  • You haven't provided the build info, but only version - please update.

from netdata.

ptr727 avatar ptr727 commented on June 14, 2024

Install using Ansible, using the documented method at the time I added netdata to my deployment, that had been working without issue for more than a year:

---
# Install NetData
# https://learn.netdata.cloud/docs/agent/packaging/docker
# https://learn.netdata.cloud/docs/agent/claim#connect-an-agent-running-in-docker
# https://github.com/netdata/netdata

# https://docs.ansible.com/ansible/latest/collections/community/docker/docker_volume_module.html
- name: "Create NetData Volumes"
  docker_volume:
    name: "{{ item }}"
    recreate: "{{ docker_volume_recreate }}"
  with_items:
    - netdata_config
    - netdata_lib
    - netdata_cache

# https://docs.ansible.com/ansible/latest/collections/community/docker/docker_container_module.html
- name: "Install NetData"
  community.docker.docker_container:
    name: netdata
    image: docker.io/netdata/netdata:latest
    pull: yes
    hostname: "netdata"
    domainname: "{{ ansible_domain }}"
    restart_policy: unless-stopped
    capabilities:
      - SYS_PTRACE
    security_opts:
      - apparmor:unconfined
    env:
      TZ: "{{ local_timezone }}"
      DOCKER_USR: "root"
      NETDATA_CLAIM_TOKEN: "{{ netdata_token }}"
      NETDATA_CLAIM_ROOMS: "{{ netdata_rooms }}"
      NETDATA_CLAIM_URL: "{{ netdata_url }}"
    volumes:
      - netdata_config:/etc/netdata
      - netdata_lib:/var/lib/netdata
      - netdata_cache:/var/cache/netdata
      - /etc/passwd:/host/etc/passwd:ro
      - /etc/group:/host/etc/group:ro
      - /proc:/host/proc:ro
      - /sys:/host/sys:ro
      - /etc/os-release:/host/etc/os-release:ro
      - /var/run/docker.sock:/var/run/docker.sock:ro
    networks:
      - name: "{{ docker_local_network }}"
    # published_ports:
    # - 19999:19999 # HTTP
    labels:
      traefik.enable: "true"
      traefik.http.routers.netdata.rule: "Host(`netdata.{{ ansible_domain }}`) || Host(`netdata-{{ ansible_fqdn }}`)"
      traefik.http.routers.netdata.entrypoints: "websecure"
      com.centurylinklabs.watchtower.enable: "true"
    recreate: "{{ docker_container_recreate }}"

How to get build info when running docker, I use what was reported in the docker state, I am using latest tag, that looks to be running nightly builds.

I will investigate more with htop threads when I have some time.

from netdata.

ptr727 avatar ptr727 commented on June 14, 2024

ACLKSYNC

image image

Node info:

{"fullyLoaded":false,"loaded":true,"id":"6900e68d-8cbc-4412-b513-0a8cfc5cd555","mg":"5e13c6a2-3d69-11eb-ae72-0242ac120016","nd":"6900e68d-8cbc-4412-b513-0a8cfc5cd555","isDeleted":false,"name":"netdata","version":"v1.44.0-227-nightly","ni":0,"labels":{"_os_version":"12 (bookworm)","_os_name":"Debian GNU/Linux","_cloud_instance_region":"unknown","_cloud_instance_type":"unknown","_cloud_provider_type":"unknown","_system_cores":"20","_system_ram_total":"135019528192","_system_disk_space":"198403535773696","_architecture":"x86_64","_system_cpu_freq":"3600000000","_kernel_version":"6.5.11-7-pve","_virtualization":"none","_container":"docker","_container_detection":"dockerenv","_virt_detection":"none","_is_k8s_node":"false","_install_type":"oci","_prebuilt_arch":"x86_64","_aclk_available":"true","_mqtt_version":"5","_aclk_proxy":"none","_aclk_ng_new_cloud_protocol":"true","_is_ephemeral":"false","_has_unstable_connection":"false","_is_parent":"false"},"labelKeys":["_os_version","_os_name","_cloud_instance_region","_cloud_instance_type","_cloud_provider_type","_system_cores","_system_ram_total","_system_disk_space","_architecture","_system_cpu_freq","_kernel_version","_virtualization","_container","_container_detection","_virt_detection","_is_k8s_node","_install_type","_prebuilt_arch","_aclk_available","_mqtt_version","_aclk_proxy","_aclk_ng_new_cloud_protocol","_is_ephemeral","_has_unstable_connection","_is_parent"],"hw":{"architecture":"x86_64","cpuFrequency":"3600000000","cpus":"20","memory":"135019528192","diskSpace":"198403535773696","virtualization":"none","container":"docker"},"os":{"id":"debian","nm":"Debian GNU/Linux","v":"12 (bookworm)","kernel":{"nm":"Linux","v":"6.5.11-7-pve"}},"capabilities":{"proto":{"name":"proto","version":1,"enabled":true},"ml":{"name":"ml","version":1,"enabled":true},"mc":{"name":"mc","version":1,"enabled":true},"ctx":{"name":"ctx","version":1,"enabled":true},"funcs":{"name":"funcs","version":1,"enabled":true},"http_api_v2":{"name":"http_api_v2","version":6,"enabled":true},"health":{"name":"health","version":1,"enabled":true},"req_cancel":{"name":"req_cancel","version":1,"enabled":true}},"state":"reachable","isProtobufCapable":true,"urls":[],"accessCount":0,"lastAccessTime":"","updateSeverity":null,"hasAccessibleData":true,"isLive":true,"nodeStatus":"Live","isOffline":false,"isUnseen":false,"capabilityKeys":["proto","ml","mc","ctx","funcs","http_api_v2","health","req_cancel"],"health":{"status":"initializing"},"isPreferred":true}

from netdata.

ilyam8 avatar ilyam8 commented on June 14, 2024

Ok, the same issue was reported on:

from netdata.

netdata-community-bot avatar netdata-community-bot commented on June 14, 2024

This issue has been mentioned on the Netdata Community Forums. There might be relevant details there:

https://community.netdata.cloud/t/high-cpu-use-of-netdata/5087/7

from netdata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.