I just setup pi-hole on my home network and everything went smooth. I updated my DHCP server to issue the pi-hole IP address as the DNS server which caused the clients to slowly starting using the pi-hole as their DNS server. I also enabled the conditional forwarder feature to point to my router so the DNS clients can resolve local DNS names. Around 5:00 AM, my pi-hole system died. When I tried to start it in the morning, it appears to be in an endless loop. The logs indicate the following error before it restarts.
[ Log items removed ... ]
[2021-01-26 10:18:57.192 5101M] FATAL: realloc_shm(): Failed to resize "FTL-queries" (19) to 66846720: No space left on device (28)
[2021-01-26 10:18:57.202 23955M] ########## FTL started! ##########
[ Loads again, but runs out of memory, then repeats ...]
I followed the instructions provided in a similar post to get my pi-hole running again.
sudo service pihole-FTL stop
sudo mv /etc/pihole/pihole-FTL.db /etc/pihole/pihole-FTL-old.db
sudo service pihole-FTL start
ls -lah /etc/pihole/pihole-FTL-old.db
-rw-r--r-- 1 root root 88M Jan 27 01:39 /etc/pihole/pihole-FTL-old.db
Here is the output of the temp fs:
root@pihole-pihole1:/var/log# df -h /dev/shm
Filesystem Size Used Avail Use% Mounted on
shm 64M 592K 64M 1% /dev/shm
Does anyone have any ideas on how to deal with this memory issue?
I am running:
- Pi-hole [v5.2.4]
- Web Interface [v5.3.1]
- FTL [v5.5.1]