Web interface very slow with lots of clients

Hello everyone,

I am trailing pi hole with what I’m guessing is a slightly larger client base than most people. It is on a VM with plenty of resources and seems to work well.

Expected Behaviour:

Admin home page appear quickly or within a couple of seconds

Actual Behaviour:

The home page pauses for about 1 minute to create the Clients (over time) graph and there are a lot more clients (20k - 30k) than on the system

Debug Token

https://tricorder.pi-hole.net/zb602z6fph

Hopefully the screenshot shows this.

It would be great if we could hide that, I have seen that posted a while ago.

Regards

Can you provide a debug token please?

Hi DanSchaper,

Yes, sorry I didn’t think this mattered for my issue.

Debug Token:

https://tricorder.pi-hole.net/zb602z6fph

Regards

You are running Apache web server, which is not the supported lighttpd.

As jfb noted:

*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 302 Found
Date: Wed, 14 Aug 2019 02:47:57 GMT
Server: Apache/2.4.29 (Ubuntu)
Location: <REDACT>
Content-Type: text/html; charset=UTF-8

[✗] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Date: Wed, 14 Aug 2019 02:47:57 GMT
Server: Apache/2.4.29 (Ubuntu)
Set-Cookie: PHPSESSID=3saf71f59klgddom9nn2ggu7eq; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8

The Clients (over time) is displaying the same numbers as the Queries over the last 24 hours, something has been modified to duplicate the graphs. It’s just the number of clients overloads the colour combinations and the outlines stack to look like a black blob.

Thanks for the feedback. The black blob is not the issue, it’s the time it takes to render the page.

I setup a new server just for PiHole with way more resources than it needs but have the same issue.

For some reason it wouldn’t upload the log file.

[✗]  There was an error uploading your debug log.
   * Please try again or contact the Pi-hole team for assistance.
   * A local copy of the debug log can be found at: /var/log/pihole_debug.log

pihole_debug.txt (17.9 KB)

This is the web interface in action with a timer. This is only 17 hours

Regards

Hello again,

I just created another video with a few more clients

Regards

The new server uses lighttpd but is still extremely slow when it gets to showing Clients (over time).

Regards