Skip to content

CPU Utilization Spikes on Node only when Dozzle is Running #3764

Open
@mitchnemirov

Description

@mitchnemirov

Check for existing issues

  • Completed

How is Dozzle deployed?

Swarm Mode

Dozzle version

8.12.4

✅ Command used to run Dozzle

services:
  app:
    image: amir20/dozzle:latest
    deploy:
      mode: global
      labels:
        - traefik.enable=true
        - traefik.docker.network=proxy
        - traefik.http.routers.dozzle.rule=Host(`logs.docker.domain`)
        - traefik.http.routers.dozzle.entrypoints=websecure
        - traefik.http.routers.dozzle.tls=true
        - traefik.http.routers.dozzle.tls.certresolver=letsencrypt
        - traefik.http.services.dozzle.loadbalancer.server.port=8080
    environment:
      - DOZZLE_MODE=swarm
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    networks:
      - proxy
      - dozzle

networks:
  proxy:
    external: true
  dozzle:
    driver: overlay

Describe the performance issue you are seeing

Possibly related to #3140

Shortly after the Dozzle service starts up across all our nodes, CPU usage spikes on one of them (most likely the leader at that time). CPU usage grows until the node is basically unusable, and causes services running on the affected node to flatline and/or timeout. The only solution is to stop Dozzle, drain and restart the docker.socket service on the affected node, then bring the node back to active.

How many containers, hosts, agents, etc. are you using?

We have three nodes running in Docker Swarm mode, with Dozzle running in swarm mode with deployment set to global. We have anywhere from 30-50 containers running at a time, and have recently cleaned up inactive images and containers.

Screenshots, videos, or logs

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions