DNS not running, FTL down

pi@kidsraspberrypi:~ $ echo ">top-ads >quit" | nc localhost 4711
0 1 metrics.icloud.com
pi@kidsraspberrypi:~ $ echo ">top-domains >quit" | nc localhost 4711
pi@kidsraspberrypi:~ $ echo ">top-ads >quit" | nc localhost 4711

What is the output of the following:

ls -lha /etc/pihole/*.db

pi@kidsraspberrypi:~ $ ls -lha /etc/pihole/*.db
-rw-rw-r-- 1 pihole pihole 165M Aug 30 14:58 /etc/pihole/gravity.db
-rw-r--r-- 1 pihole pihole 2.4M Aug 15 07:43 /etc/pihole/macvendor.db
-rw-r--r-- 1 pihole pihole 1.8G Sep  5 08:29 /etc/pihole/pihole-FTL.db

Probably you'll see the oom-killer active in the kernel ring buffer if running out:

dmesg -T

EDIT:
https://docs.memset.com/other/linux-s-oom-process-killer

This is a pretty huge long term database. When you start Pi-hole, it reads the most recent 24 hours from the database, and then loads that that into memory. With your very large number of daily queries, this is causing memory and performance issues. Let's do this to get to the bottom of the problem. First, we will move your long term database, and create a new one from scratch. Then, monitor your Pi-hole for an hour or so and re-run those three commands to see the activity in that hour.

sudo service pihole-FTL stop
sudo mv /etc/pihole/pihole-FTL.db /etc/pihole/pihole-FTL-old.db
sudo service pihole-FTL start

Yesterday I was frustrated and reinstalled rasbian and pihole and started from scratch.

This morning FTL is down again!!!

sudo service pihole-FTL stop
sudo mv /etc/pihole/pihole-FTL.db /etc/pihole/pihole-FTL-old.db
sudo service pihole-FTL start

Just did the above. Any other suggestions? I am using a POE hat. Could that have anything to do with FTL shutting down?

Here is the debug output https://tricorder.pi-hole.net/i88apirhzf

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