pi-hole/pi-hole

Dashboard hanging

tfra opened this issue · 1 comments

tfra commented

Versions

Pi-hole version is v5.17.3 (Latest: v5.17.3)
web version is v5.21 (Latest: v5.21)
FTL version is v5.25 (Latest: v5.25)

Platform

  • OS and version:
    Distributor ID: Ubuntu
    Description: Ubuntu 22.04.3 LTS
    Release: 22.04
    Codename: jammy

  • Platform: VM (VMware), 2 Intel CPU, 4 GB Ram, 40 GB SSD.

Expected behavior

When opening http://..../admin/index.php the page should load quick. In our environment with ~2600 active clients (15+ mio queries per day), the page hangs / never finishes loading.

Actual behavior / bug

If we outcomment line 108 () in /var/www/html/admin/index.php the page loads quickly. So the problem lies in that graph, but only when there are many clients using the pihole.
(Line 108 = <canvas id="clientsChart" class="extratooltipcanvas no-user-select"></canvas> )

Steps to reproduce

Steps to reproduce the behavior:

  1. Have many clients (2500+) make many queries (10+ mio)
  2. Try to load frontpage of pihole.

Debug Token

Screenshots

When the page hangs
image

When the graph is outcommented (i also replaced the font-awesome spinner with text for my colleagues) - the page loads fine.
image

Additional context

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.