Logging configuration - High write activity?

Hi there,

Been having some issues with frequently dead SD cards on SBCs. We have gone through the usual process of disabling swap memory and using high quality sandisk drives.

In an effort to eliminate as many writes to the SD card as possible (without going full read-only fs), I have been watching iotop and found that zerotier is writing about once per second around 40 kbs.

cat /var/log/syslog | grep zerotier returns minimal entries, same with sudo journalctl -u zerotier-one, so it is not system logs that are the problem.

I have found that in /var/lib/zerotier-one, this file in networks.d is being modified

/var/lib/zerotier-one/networks.d $ ls -l
total 8
-rw-r–r-- 1 zerotier-one zerotier-one 1144 Jan 25 10:47 XXXXXXXXXX.conf
-rw-r–r-- 1 zerotier-one zerotier-one 55 Sep 27 13:18 XXXXXXXXXXX.local.conf

Where XXXXXXXXX is the peer identity

And additionally, it looks like the individual peer files in /var/lib/zerotier-one/peers.d are also being frequently updated.

Does anyone have suggestions about how to reduce these writes? Do I have to put these on a ramdisk to avoid writing to the SD card?

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.