This is likely the source of your problem. You have an enormous number of queries in the past 24 hours (~22 million). All of these are stored in the long term database and when you restart Pi-hole the most recent 24 hours is read to populate the query log. Your Pi-hole is likely not able to process this volume.
[2021-10-30 12:13:06.221 3912M] Imported 22175799 queries from the long-term database
[2021-10-30 12:13:06.221 3912M] -> Total DNS queries: 22175799
[2021-10-30 12:13:06.221 3912M] -> Cached DNS queries: 7128
[2021-10-30 12:13:06.221 3912M] -> Forwarded DNS queries: 22164558
[2021-10-30 12:13:06.221 3912M] -> Blocked DNS queries: 2199
[2021-10-30 12:13:06.221 3912M] -> Unknown DNS queries: 221
[2021-10-30 12:13:06.221 3912M] -> Unique domains: 2916
[2021-10-30 12:13:06.222 3912M] -> Unique clients: 25
Conditional forwarding likely has created a DNS loop that is multiplying queries. Your pihole.log shows the following (repeated many times). The router sent a request, and the request is sent back to the router for resolution. In this case, it's a DNS Discovery Service request.
*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 128M Oct 30 12:37 /var/log/pihole.log
-----head of pihole.log------
Oct 30 00:08:29 dnsmasq[572]: query[PTR] b._dns-sd._udp.0.1.168.192.in-addr.arpa from 192.168.1.1
Oct 30 00:08:30 dnsmasq[572]: forwarded b._dns-sd._udp.0.1.168.192.in-addr.arpa to 192.168.1.1
Do these things to clear this and get Pi-hole restarted.
Disable conditional forwarding.
Run these commands to move the existing database to a new file name and create a fresh database. This will avoid pihole-FTL having to load all that data.
sudo service pihole-FTL stop
sudo mv /etc/pihole/pihole-FTL.db /etc/pihole/pihole-FTL-old.db
sudo service pihole-FTL start