docker-pi-hole icon indicating copy to clipboard operation
docker-pi-hole copied to clipboard

Tracking: pihole-FTL.log spam after adding invalid regex to domain list

Open PromoFaux opened this issue 2 years ago • 1 comments

Noticed when testing new 2022.04.3.

To repro :

  • tail -f /var/log/pihole-FTL.log
  • Add an invalid regex to the domain list (i.e [[[)
  • Watch the fireworks

Doesn't appear to happen on bare metal - so seemingly Docker specific. Probably to do with s6?

root@pihole-docker:/# tail -f /var/log/pihole-FTL.log
[2022-04-20 20:37:36.024 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:36.025 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:36.025 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:36.025 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:52.074 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:52.074 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.4 msec
[2022-04-20 20:37:52.111 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:52.111 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.4 msec
[2022-04-20 20:37:52.955 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:52.956 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.4 msec
[2022-04-20 20:37:59.569 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.569 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.4 msec
[2022-04-20 20:37:59.569 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.570 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.570 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.571 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.571 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.571 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.572 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.573 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.573 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.573 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.574 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.574 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.574 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.574 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.575 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.576 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.576 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.576 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.576 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.577 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.577 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.577 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.577 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.578 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.578 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.578 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.579 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.579 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:37:59.579 531M] Reloading externally changed regular expressions
[2022-04-20 20:37:59.580 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:38:37.968 531M] Reloading externally changed regular expressions
[2022-04-20 20:38:37.969 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.4 msec
[2022-04-20 20:38:37.969 531M] Reloading externally changed regular expressions
[2022-04-20 20:38:37.969 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:39:03.175 531M] Reloading externally changed regular expressions
[2022-04-20 20:39:03.175 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.4 msec
[2022-04-20 20:39:03.175 531M] Reloading externally changed regular expressions
[2022-04-20 20:39:03.176 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:39:03.178 531M] Reloading externally changed regular expressions
[2022-04-20 20:39:03.178 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.4 msec
[2022-04-20 20:39:03.179 531M] Reloading externally changed regular expressions
[2022-04-20 20:39:03.179 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:39:15.179 531M] Reloading externally changed regular expressions
[2022-04-20 20:39:15.180 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.4 msec
[2022-04-20 20:39:15.180 531M] Reloading externally changed regular expressions
[2022-04-20 20:39:15.180 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:39:17.537 4206/F531] Reloading externally changed regular expressions
[2022-04-20 20:39:17.538 4206/F531] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.4 msec
[2022-04-20 20:39:17.538 4206/F531] Reloading externally changed regular expressions
[2022-04-20 20:39:17.538 4206/F531] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:39:27.992 531M] Reloading externally changed regular expressions
[2022-04-20 20:39:27.993 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.4 msec
[2022-04-20 20:39:27.993 531M] Reloading externally changed regular expressions
[2022-04-20 20:39:27.994 531M] Compiled 0 whitelist and 0 blacklist regex filters for 44 clients in 0.3 msec
[2022-04-20 20:39:44.802 4354/F531] Resizing "FTL-queries" from 3424256 to (81920 * 44) == 3604480 (/dev/shm: 4.5MB used, 67.1MB total, FTL uses 4.5MB)
[2022-04-20 20:39:45.086 531/T4376] Remapping "FTL-queries" from 3424256 to (81920 * 44) == 3604480
[2022-04-20 20:39:45.086 531/T4376] Remapping "FTL-domains" from 61440 to (3072 * 20) == 61440
[2022-04-20 20:39:45.086 531/T4376] Remapping "FTL-clients" from 684032 to (1024 * 668) == 684032
[2022-04-20 20:39:45.086 531/T4376] Remapping "FTL-upstreams" from 159744 to (256 * 624) == 159744
[2022-04-20 20:39:45.086 531/T4376] Remapping "FTL-dns-cache" from 20480 to (1280 * 16) == 20480
[2022-04-20 20:39:45.086 531/T4376] Remapping "FTL-per-client-regex" from 4096 to (4096 * 1) == 4096
[2022-04-20 20:39:45.086 531/T4376] Remapping "FTL-strings" from 122880 to (122880 * 1) == 122880

PromoFaux avatar Apr 20 '22 20:04 PromoFaux

A video of it happening:

https://user-images.githubusercontent.com/1998970/164324178-351b61ca-3286-43e6-adba-e2ba72659073.mov

PromoFaux avatar Apr 20 '22 21:04 PromoFaux