My previous support topic was automatically closed, but the problem remains unresolved. I am opening this new topic because I have now captured another occurrence, including detailed live diagnostics, this time running FTL v6.7.1.
Expected Behaviour:
The Pi-hole web administration interface should remain accessible over HTTP/HTTPS, even after several days or weeks of continuous operation.
My setup:
- Hardware: Raspberry Pi 3B
- Operating system: Raspberry Pi OS (64-bit, Debian Trixie)
- Installation: Native Pi-hole installation, not Docker
- Pi-hole Core: v6.4.3
- Pi-hole Web: v6.6
- Pi-hole FTL: v6.7.1
- Pi-hole IP:
192.168.178.2 - Webserver: FTL's integrated CivetWeb server, listening on ports 80 and 443
- Debugging:
debug.webserver = true
The Raspberry Pi provides DNS resolution for my home network and is normally running continuously.
Actual Behaviour:
After an unpredictable period of normal operation, the Pi-hole web administration interface becomes completely unresponsive. DNS resolution continues working.
I originally documented this issue under FTL v6.7 in my previous topic, including an occurrence where the CivetWeb master thread appeared to spin continuously in ppoll() while the IPv4 accept queues were full.
On October 12, 2026, I discovered that the problem had occurred again, despite having updated to FTL v6.7.1 on September 21.
Fortunately, SSH was still working this time, so I collected the following diagnostics before restarting FTL.
1. DNS and SSH continue working, but the webserver does not
ping 192.168.178.2succeeds.nslookup heise.de 192.168.178.2returns valid DNS responses.- SSH connections work normally.
- The
pihole-FTLsystemd service remains active. - DNS queries are still recorded in the SQLite database. The latest query at the time of testing was timestamped
2026-10-12 09:35:27. - The admin interface is unreachable.
A local IPv4 HTTP request to 127.0.0.1:80 cannot establish a connection within the timeout.
I also tested IPv6 locally:
curl -6 -g --noproxy '*' --connect-timeout 3 --max-time 8 -v 'http://[::1]/admin/'
This successfully establishes a TCP connection and sends the HTTP GET request, but receives no response:
Connected to ::1 port 80
Request completely sent off
Operation timed out after 8002 milliseconds with 0 bytes received
Thus, although only the IPv4 accept queues are saturated, HTTP request processing also fails over IPv6.
2. IPv4 accept queues are completely full
The command
sudo ss -ltnp '( sport = :80 or sport = :443 )'
shows:
State Recv-Q Send-Q Local Address:Port
LISTEN 201 200 0.0.0.0:443
LISTEN 201 200 0.0.0.0:80
LISTEN 0 200 [::]:443
LISTEN 0 200 [::]:80
The kernel counters show:
TcpExtListenOverflows 11032
TcpExtListenDrops 11032
Approximately 14 minutes earlier, both counters were at 10,949. They continued increasing while the problem was occurring.
For comparison, in the healthy state immediately after updating to v6.7.1, all four accept queues were empty and both counters were zero.
3. CivetWeb master thread continuously spins in ppoll()
FTL was running as PID 749.
The CivetWeb master thread was:
TID %CPU COMMAND
9391 43.7 civetweb-master
The CPU percentage is the lifetime average reported by ps, rather than an instantaneous measurement.
The eight remaining civetweb-worker threads were sleeping in futex_do_wait.
I attached strace to the CivetWeb master thread for five seconds:
sudo timeout 5 strace -tt -T -p 9391 \
-e trace=ppoll,poll,accept,accept4,recvfrom,recvmsg,read,write,sendto,sendmsg
The output repeatedly showed calls equivalent to:
ppoll([{fd=37, events=POLLIN},
{fd=38, events=POLLIN},
{fd=39, events=POLLIN},
{fd=40, events=POLLIN},
{fd=35, events=POLLIN}], 5, ...)
= 2 ([{fd=37, revents=POLLIN},
{fd=38, revents=POLLIN}])
File descriptors 37 and 38 belong to the IPv4 listeners on ports 80 and 443.
The master thread repeatedly sees both IPv4 listening sockets as readable, but no accept() or accept4() calls appeared during the five-second trace.
The loop executes extremely rapidly, without waiting for the specified two-second poll timeout.
This is essentially the same behavior I observed and documented during a previous occurrence under FTL v6.7.
4. Possible start of the failure: October 5
The Pi-hole webserver debugging log provides an indication of when the problem might have started.
My home server (192.168.178.25) performs TCP connectivity checks against the Pi-hole HTTP and HTTPS ports every three minutes.
These checks regularly produce log entries such as:
Incoming connection from 192.168.178.25
http: none, error: No data received
Incoming SSL connection from 192.168.178.25
TLS handshake failed (-29312)
This has been the normal pattern for some time.
The last entries in webserver.log.1 are timestamped October 5, 2026, at 18:22:54.195 CEST.
During this final recorded check, both connections were still accepted, processed and closed normally, and the worker threads returned to idle.
No further connections appear in the debugging log. The next regular check would have been expected around 18:25:54.
The current webserver.log, created by log rotation on October 6, is empty.
This suggests that CivetWeb may have stopped processing connections around October 5. However, I cannot exclude a separate logging problem, and the exact onset is not proven.
The system journal around that time contains no obvious OOM, filesystem, kernel or FTL crash messages. A DHCP lease renewal was logged at 18:33, but there is no evidence that it caused the problem.
I do not know whether the regular TCP connectivity checks from my home server are related to the trigger or simply make the problem visible.
5. Recovery
After capturing the live diagnostics and uploading a Pi-hole debug report, I executed:
sudo systemctl restart pihole-FTL
The command completed successfully and the web administration interface immediately became accessible again.
No Raspberry Pi reboot was necessary.
6. Summary
This problem has now occurred repeatedly under FTL v6.7 and v6.7.1.
The most consistent findings are:
- IPv4 accept queues on ports 80 and 443 fill to 201/200.
- TCP listen overflows and drops increase continuously.
- The CivetWeb master thread repeatedly returns from
ppoll()withPOLLINon both IPv4 listening sockets. - No
accept()calls are visible during the trace. - The web interface becomes unresponsive, including HTTP requests over IPv6.
- DNS resolution continues working.
- Restarting
pihole-FTLimmediately restores the web interface.
During an earlier occurrence, SSH was also unavailable and DNS query logging stopped. In the latest occurrence, SSH and database logging continued working.
I understand that v6.7.1 includes fixes related to CivetWeb workers, TLS handling and potential deadlocks. However, this particular issue is still reproducible.
Could this indicate a problem in CivetWeb's accept loop or its internal thread synchronization?
Are there any additional diagnostics, thread backtraces or tracing options I should collect if the problem happens again?
I have also saved a separate diagnostic archive containing the system journal, FTL and CivetWeb logs, thread states, file descriptors, listening sockets and TCP counters. I can provide relevant excerpts if needed.
Thank you for your help!
Debug Token:
YGcSmmSA
https://tricorder.pi-hole.net/YGcSmmSA/
The debug report was uploaded on October 12, 2026, at approximately 10:03 CEST, while the issue was still occurring and before restarting FTL.
The report will expire after 48 hours.