Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PromoFaux opened this issue Apr 20, 2022 · 2 comments
Open
Labels

Comments

@PromoFaux
Copy link
Member

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 PromoFaux added the bug label Apr 20, 2022
@PromoFaux
Copy link
Member Author

A video of it happening:

spammy.mov

@bermeitinger-b
Copy link

This is not resolved. Where does it check for "externally changed regular expressions"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants