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
https://streamable.com/7ejw3

Regards

Hello again,

I just created another video with a few more clients

https://streamable.com/5z25h

Regards

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

Regards

I am also having this issue.
The page loads the "/admin/api.php?overTimeDataClients&getClientNames" query in ~600ms but then takes 85secs to render the page.

Server is running at 100c? thats why

1 Like

:hot_face: I think the virtual server could be a bit confused about the temperature. :hot_face:

It doesn't explain why the server responds quickly and browser gets stuck though.

Hi everyone,

I have removed "commented out" the Clients (over time) part of the admin interface and it's running perfectly.

If I get some time one day I'll see what changes I can do to make it usable.

Regards

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.