New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Docker high CPU ACLKSYNC
thread
#16818
Comments
Hey, @ptr727. We need more info.
|
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 I will investigate more with htop threads when I have some time. |
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 |
Bug description
Been running netdata in docker for a long time, noticed netdata consuming 100%+ CPU.
Expected behavior
Normal CPU
Steps to reproduce
Installation method
docker
System info
Netdata build info
Additional info
_netdata_logs.txt
The text was updated successfully, but these errors were encountered: