Hello there, I am running Syncthing on a node “Server” which use a remote directory mounted over the network with the sshfs protocol. Here is the network:
######### ##################
# PC # -----Syncthing----- # Server #
######### #----------------# ###############
# repository dir ------SSHFS------# Data Server #
################## ###############
Synchting works fine between the “PC” and the “Server” with classics repositories (directories are located in the server).
Syncing goes wrong with directories and files located on a remote server. It takes a while to scan and to do the work.
I share two repository with the same data, the first use the remote directory and the second does not.
It takes around 3 seconds to scan the first repo (20k files) while it takes around 4 minutes to scan the remote dir. If there’s data to propagate, it takes hours.
(Gwan is “server”, TOMMAINPC is “PC”, “/home/tlatch” is the remote directory)
Here is a benchmark from the “Server” to the “Data Server” through the sshfs. It basically overload my ADSL connection.
Syncthing seems to sleep with the repo because of the sshfs remote directory; the sshfs connection is almost unused (less than 5ko/s in both download/upload).
I have done a STTRACE=beacon,discover,files,net,model,scanner,upnp log but i didn’t notice anything wrong. sctrace.log (569.3 KB)
What i’ve done during logging in this order : -Changing a file from PC on repo Bench_test and on repo Bench_tes2 to compare. -Removing some stuff from Mics from PC (is also a remote directory with SSHFS ( smaller)).
Is there something wrong with Syncthing on that network architecture?