Package Details: pi-hole-ftl 5.25.2-2

Git Clone URL: https://aur.archlinux.org/pi-hole-ftl.git (read-only, click to copy)
Package Base: pi-hole-ftl
Description: The Pi-hole FTL engine
Upstream URL: https://github.com/pi-hole/FTL
Licenses: EUPL-1.2
Conflicts: dnsmasq
Provides: dnsmasq
Submitter: max.bra
Maintainer: max.bra (graysky)
Last Packager: max.bra
Votes: 54
Popularity: 0.011271
First Submitted: 2017-05-07 15:23 (UTC)
Last Updated: 2024-08-10 09:53 (UTC)

Required by (65)

Sources (6)

Pinned Comments

max.bra commented on 2018-02-09 16:46 (UTC) (edited on 2019-10-18 23:13 (UTC) by max.bra)

ArchLinux Pi-hole is not officially supported by Pi-hole project. In case of bugs and malfunctions please DO NOT file a report upstream.

First of all check if the wiki (https://wiki.archlinux.org/index.php/Pi-hole) can help then ask here for assistance and tips.
When it will be excluded that the problem does not depend on ArchLinux we will file a bug upstream.

Latest Comments

« First ‹ Previous 1 .. 33 34 35 36 37 38 39 40 41 42 43 44 Next › Last »

graysky commented on 2017-12-11 22:33 (UTC)

@max.bra - Only the new "long term data" functions use this database. For my use case, once per hour or even once per 6 hours is plenty as I rarely if ever expect to use that feature. I don't know what a good default is for everyone though. Once per hour?

DL6ER mentioned in the ticket I referenced that he will consider making this a tuneable so in the future we don't have to worry about it.

max.bra commented on 2017-12-11 22:26 (UTC)

how about 10 mins? it seems to be a good timings. comunity?

max.bra commented on 2017-12-11 22:25 (UTC)

I had not seen that define: problem solved!

graysky commented on 2017-12-11 22:20 (UTC)

@max - DL6ER replied to my upstream ticket. Perhaps we can use a longer default as a trade-off? Problem is doing it is modifying upstream's default on the package-level (although we do this extensively anyway with the logs to tmpfs which I totally agree with!

Here is a patch changing it from every 1 min to every 10 min (although you should just use your sed construct in the prepare function too):

--- a/FTL-2.12/FTL.h    2017-12-06 22:35:44.000000000 -0500
+++ b/FTL-2.12/FTL.h    2017-12-11 17:15:47.145632801 -0500
@@ -68,7 +68,7 @@

 // How often do we dump into FTL's database?
 // Default: 60 (once per minute)
-#define DBinterval 60
+#define DBinterval 600

 // Static structs
 typedef struct {

max.bra commented on 2017-12-11 21:33 (UTC)

@graysky yes yes, minute not second... my fault!

graysky commented on 2017-12-11 21:29 (UTC)

@max.bra - Are you sure it's once per second and note once per minute? I opened https://github.com/pi-hole/pi-hole/issues/1839

max.bra commented on 2017-12-11 21:21 (UTC) (edited on 2017-12-11 21:33 (UTC) by max.bra)

yes, a 1 minute commit time. confirmed!! gasp!!

max.bra commented on 2017-12-11 21:20 (UTC)

ok I'm starting to write the skeleton of systemd services for the various syncs. once published we will all refine and improve them. in the meantime, I set up the server package for permissions in the /etc/pihole directory and the patch reported by MartB

graysky commented on 2017-12-11 21:15 (UTC)

@max.bra - Since /etc/pihole/pihole-FTL.db seems to be a binary file, I am going to speculate the ENTIRE file is overwritten at the 60/hour rate. So that could be 10s of MBs of writes each hour which will shorten the life of an SD Card for sure. I agree that is it a very poor design for SD cards.