Here it is: I have AdGuard Home running on my RPI and I wonder if it would also be able to host the Syncthing application to synchronize remote directories on my network.
And if so, wouldn’t there be a conflict to access the management interface: the 2 services having the same IP?
Sorry if I ask a stupid question, but I am a newbie who is starting his journey in the Linux universe.
Tech infos:
It’s an Raspberry Pi 2 Model B Rev 1.1 (ARMv7) which runs smoothly AdGuard Home:
free -h
total used free shared buff/cache available
Mem: 921Mi 193Mi 510Mi 0.0Ki 217Mi 674Mi
Swap: 99Mi 0B 99Mi
EDIT:
oops! forgot to tell the whole thing is on 16Gb SDcard
Welcome to the forum, and also to exploring the Linux universe.
AdGuard Home has very low system resource demands, so running Syncthing alongside it won’t be an issue.
Although a revision 1.1 RPi 2 B with some system performance tuning can run Syncthing, how well it works overall will depend a lot on the number and typical size of the files being synced due to the 32-bit CPU and 1GB of RAM.
There are quite a few earlier posts on this forum about using a RPi with Syncthing so I’ll leave the details to those threads, but just a few quick pointers:
Use Linux’s zram module to make more efficient use of available RAM. The benefits often outweigh the CPU cycles required for the compression.
A quick rule of thumb regarding Linux’s inotify subsystem that’s used by Syncthing for real-time detection of file changes is that every file watched requires 1KB of RAM – i.e. 1 million files = 1GB of RAM.
If the files to be synced and Syncthing’s database will be stored on the 16GB SD card, keep an eye out for faster wear and tear. One solution is to get a larger capacity card relative to your storage requirements to spread out the write cycles over more flash memory blocks.
Hello to both of you and many thanks for your comments and advice.
Well, maybe it had been years since my RPI2 b was running nicely in its corner without flinching.
After reading you I gave it a bath of youth (updating the OS and installing ZRam). It is now ready to welcome its new playmate.
I will introduce it to him very quickly.
Stay tuned.