Lost connection to api

Expected Behaviour:

pi 3b

Actual Behaviour:

lost connection to api
systemctl restart pihole-FTL and service pihole-FTL restart
did not work

Debug Token:

https://tricorder.pi-hole.net/46r00xnnqj

Please post the output of

cat /var/log/pihole-FTL.log

After attempting to restart pihole-FTL, what's the output of:

sudo systemctl status --full --no-pager pihole-FTL.service
● pihole-FTL.service - LSB: pihole-FTL daemon
   Loaded: loaded (/etc/init.d/pihole-FTL; generated)
   Active: activating (start) since Wed 2020-10-28 22:26:31 CET; 2min 58s ago
     Docs: man:systemd-sysv-generator(8)
Cntrl PID: 592 (bash)
    Tasks: 1 (limit: 2063)
   CGroup: /system.slice/pihole-FTL.service
           └─592 bash /etc/init.d/pihole-FTL start

Okt 28 22:26:31 pi systemd[1]: Starting LSB: pihole-FTL daemon...
Okt 28 22:26:31 pi pihole-FTL[448]: Terminated
Okt 28 22:26:31 pi pihole-FTL[592]: Stopped
Okt 28 22:26:32 pi su[613]: (to pihole) root on none
Okt 28 22:26:32 pi su[613]: pam_unix(su:session): session opened for user pihole by (uid=0)

ftl.txt (82.0 KB)

Your log doesn't show any apparent errors or crashes.
But immediately after starting, FTL has to increase it's memory quite fast. Also in your debug log this indicates a lot of queries. Maybe you run out of memory.

-rw------- 1 pihole pihole 294748160 Oct 28 13:02 /dev/shm/FTL-queries

What is the output of

echo ">top-clients >quit" | nc localhost 4711

echo ">stats >quit" | nc localhost 4711

Also post the output of:

echo ">top-domains >quit" | nc localhost 4711

0 4341498 192.168.1.1 unifi.nix
1 5253 192.168.1.69 mb-k.nix
2 1376 192.168.1.103 bigeasy.nix
3 89 127.0.0.1 localhost
4 35 192.168.1.30
5 4 192.168.1.18
domains_being_blocked 123169
dns_queries_today 4348263
ads_blocked_today 862
ads_percentage_today 0.019824
unique_domains 1158
queries_forwarded 4346963
queries_cached 424
clients_ever_seen 6
unique_clients 6
dns_queries_all_types 4348263
reply_NODATA 21
reply_NXDOMAIN 4
reply_CNAME 302
reply_IP 646
privacy_level 0
status enabled
0 2343643 lb._dns-sd._udp.0.1.168.192.in-addr.arpa
1 1995441 lb._dns-sd._udp.nix
2 312 e17437.dscb.akamaiedge.net
3 310 ping.ubnt.com
4 257 gateway.fe.apple-dns.net
5 195 me.apple-dns.net
6 165 ips1.unifi-ai.com
7 136 xp.itunes-apple.com.akadns.net
8 125 mesu-cdn.origin-apple.com.akadns.net
9 84 pbs.twimg.com

and thx for the help

This is the source of your problem, I believe. A very high number of queries in 24 hours (over 4.3 million), and they appear to be caused by a conditional forwarding loop.

dns_queries_today 4348263

4341498 192.168.1.1 unifi.nix

2343643 lb._dns-sd._udp.0.1.168.192.in-addr.arpa
1995441 lb._dns-sd._udp.nix

The Unifi controller is making a huge number of DNS Discovery Service requests.

I would start with disabling conditional forwarding and see if this tames the traffic.

1 Like

big thxs

this was the problem.

now pihole is running without problems

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